/* ==========================================================================
   Company pages: home, services, solutions, projects, consultation form.
   Built on the tokens of app.css (and its dark theme).
   ========================================================================== */

/* ── Service / solution cards ──────────────────────────────────────────── */
.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(.9rem, .5rem + 1vw, 1.4rem); }
.co-card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); transition: border-color var(--t), box-shadow var(--t), transform var(--t); color: inherit; text-decoration: none; }
.co-card:hover { border-color: var(--c-ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.co-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--c-accent-soft); color: var(--c-accent); }
.co-card__icon .icon { width: 24px; height: 24px; }
.co-card__img { margin: -1.5rem -1.5rem .4rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.co-card__img img { width: 100%; height: 100%; object-fit: cover; }
.co-card__num { position: absolute; inset-block-start: 1.25rem; inset-inline-end: 1.5rem; font-weight: 800; color: var(--c-border-strong); font-size: 1.4rem; }
.co-card h2, .co-card h3 { font-size: var(--fs-h3); font-weight: 700; }
.co-card p { color: var(--c-muted); font-size: .95rem; line-height: 1.85; }
.co-card__more { margin-block-start: auto; padding-block-start: .4rem; font-size: var(--fs-small); font-weight: 600; color: var(--c-accent); display: inline-flex; align-items: center; gap: .3rem; }

/* ── Projects ──────────────────────────────────────────────────────────── */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.project-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-border); color: inherit; text-decoration: none; transition: box-shadow var(--t), transform var(--t); }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.project-card__img { aspect-ratio: 4 / 3; background: var(--c-bg-subtle); display: grid; place-items: center; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.project-card:hover .project-card__img img { transform: scale(1.04); }
.project-card__img .icon { width: 48px; height: 48px; color: var(--c-border-strong); }
/* No photo yet: a text card with the type icon, the same height in its row. */
.project-card--text .project-card__body { flex: 1; padding: 1.4rem 1.4rem 1.5rem; gap: .55rem; }
.project-card__mark { display: grid; place-items: center; width: 44px; height: 44px; margin-block-end: .35rem; border-radius: var(--r); background: var(--c-bg-subtle); color: var(--c-muted); }
.project-card__mark .icon { width: 22px; height: 22px; }
.project-card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.project-card__title { font-size: 1.08rem; font-weight: 700; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: var(--fs-small); color: var(--c-muted); }
.project-card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.project-card__meta .icon { width: 14px; height: 14px; }

.co-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-end: 1.5rem; }
.co-filter a { padding: .45rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--c-border-strong); font-size: var(--fs-small); color: var(--c-text); text-decoration: none; }
.co-filter a.is-active, .co-filter a:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); }

.project-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--r); overflow: hidden; margin-block: 1.5rem; }
.project-facts div { background: var(--c-surface); padding: .9rem 1.1rem; }
.project-facts dt { font-size: var(--fs-caption); color: var(--c-muted); }
.project-facts dd { margin: .2rem 0 0; font-weight: 700; }

.project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .75rem; }
.project-gallery figure { margin: 0; }
.project-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--c-bg-subtle); }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.project-gallery a:hover img { transform: scale(1.04); }
.project-gallery figcaption { font-size: var(--fs-caption); color: var(--c-muted); padding-block-start: .35rem; }
.co-cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-xl); }

/* ── Company page (service / solution) ─────────────────────────────────── */
.co-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; padding-block-end: var(--section); }
.co-aside { position: sticky; inset-block-start: calc(var(--header-h) + 1rem); display: flex; flex-direction: column; gap: 1rem; }
.co-aside__box { border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.25rem; background: var(--c-surface); }
.co-aside__box h2 { font-size: 1rem; font-weight: 700; margin-block-end: .6rem; }
.co-aside__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.co-aside__list a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; color: var(--c-text); text-decoration: none; border-block-end: 1px solid var(--c-border); font-size: .95rem; }
.co-aside__list li:last-child a { border-block-end: 0; }
.co-aside__list a:hover { color: var(--c-accent); }
.co-aside__list .icon { width: 18px; height: 18px; color: var(--c-accent); }

/* ── Process steps ─────────────────────────────────────────────────────── */
.co-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; counter-reset: step; }
.co-step { padding-block-start: 1rem; border-block-start: 2px solid var(--c-accent); }
.co-step::before { counter-increment: step; content: "0" counter(step); display: block; font-weight: 800; color: var(--c-accent); margin-block-end: .4rem; }
.co-step h3 { font-size: 1.05rem; font-weight: 700; }
.co-step p { color: var(--c-muted); font-size: .92rem; margin-block-start: .3rem; }

/* ── Consultation form ─────────────────────────────────────────────────── */
.consult { --cf-field: #1d1e21; --cf-line: rgb(255 255 255 / 12%);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.75rem, 1rem + 3vw, 4.5rem);
  padding: clamp(1.5rem, 1rem + 3vw, 3.75rem); border-radius: 32px; background: #0f1012; color: #f5f5f7; }
.consult .eyebrow { color: #6cb8ea; }
.consult h2 { color: #fff; margin-block-start: .5rem; }
.consult .lead { margin-block-start: .75rem; color: #a1a1a6; }
/* What happens next: three numbered lines. */
.consult__next-title { margin-block: 1.4rem .7rem; font-size: .82rem; font-weight: 700; color: #a1a1a6; }
.consult__next { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.consult__next li { display: grid; grid-template-columns: 2rem 1fr; gap: .85rem; align-items: start; font-size: .92rem; line-height: 1.85; color: #a1a1a6; }
.consult__next strong { display: block; color: #fff; font-size: .98rem; }
.consult__next-num { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--cf-line); color: #fff; font-weight: 800; font-size: .85rem; }
/* Call buttons */
.consult__call { margin-block-start: 1.4rem; padding-block-start: 1.1rem; border-block-start: 1px solid var(--cf-line); font-size: .82rem; font-weight: 700; color: #a1a1a6; }
.consult__tels { display: flex; flex-wrap: wrap; gap: .6rem; margin-block-start: .75rem; }
.consult__tel { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--cf-line); color: #fff; text-decoration: none;
  font-size: 1.02rem; font-weight: 800; direction: ltr; transition: background var(--t) var(--ease), border-color var(--t) var(--ease); }
.consult__tel:hover { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 28%); }
.consult__tel .icon { width: 16px; height: 16px; color: #6cb8ea; }

/* Form: one height, one colour for every field (autofill included). */
.consult__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem .9rem; align-content: start; }
.consult__form .span-2 { grid-column: 1 / -1; }
.consult__form .field { gap: .45rem; }
.consult__form .field__label { color: #c7c7cc; font-size: .82rem; font-weight: 600; }
.consult__form :is(.input, .textarea) { min-height: 52px; border-radius: 14px; border: 1px solid var(--cf-line); background: var(--cf-field); color: #fff; font-size: 1rem;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.consult__form .textarea { min-height: 104px; resize: none; line-height: 1.9; }
.consult__form :is(.input, .textarea)::placeholder { color: #6e6e73; }
.consult__form :is(.input, .textarea):hover { border-color: rgb(255 255 255 / 22%); }
.consult__form :is(.input, .textarea):focus { outline: none; border-color: #6cb8ea; box-shadow: 0 0 0 4px rgb(108 184 234 / 18%); }
/* Browser autofill paints fields light blue: keep them dark. */
.consult__form :is(.input, .textarea):is(:-webkit-autofill, :autofill),
.consult__form :is(.input, .textarea):is(:-webkit-autofill, :autofill):is(:hover, :focus) {
  -webkit-text-fill-color: #fff; caret-color: #fff; box-shadow: 0 0 0 100px var(--cf-field) inset; transition: background-color 600000s 0s; }
/* Building type: chips (radio). */
.consult__types { margin: 0; padding: 0; border: 0; min-width: 0; }
.consult__types legend { padding: 0; margin-block-end: .45rem; }
.consult__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.consult__chip { position: relative; cursor: pointer; }
.consult__chip input { position: absolute; opacity: 0; pointer-events: none; }
.consult__chip span { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--cf-line);
  background: var(--cf-field); color: #c7c7cc; font-size: .9rem; font-weight: 600; transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease); }
.consult__chip:hover span { border-color: rgb(255 255 255 / 28%); color: #fff; }
.consult__chip input:checked + span { background: #fff; border-color: #fff; color: #0f1012; }
.consult__chip input:focus-visible + span { outline: 2px solid #6cb8ea; outline-offset: 2px; }
/* Submit + privacy line */
.consult__submit { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-block-start: .25rem; }
.consult__submit .btn { min-width: 220px; justify-content: center; }
.consult__privacy { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: #8e8e93; }
.consult__privacy .icon { width: 15px; height: 15px; }
.consult__sent { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; padding: .9rem 1.1rem; border-radius: 14px;
  background: rgb(52 199 89 / 14%); color: #7ee2a0; font-weight: 600; }
.consult__sent .icon { width: 18px; height: 18px; }
.consult__form .field__error { color: #ffb4ab; font-size: .8rem; }

/* ── Brand logos (company home): 6 × 2 grid of hairline cells, checkerboard, "+" where lines cross ──
   Markup and the random swap come from partials/logo-cloud + app.js ([data-logo-grid] reads --cols and
   shows --cols × 2 cells). Cells stay light in the dark theme: the logos are drawn for white. */
/* Full width, 8 × 2 (tablets 4 × 2, phones 3 × 2); app.js reads --cols for the cells it swaps. */
.co-logos .logos__grid { --cols: 8; --line: var(--c-border); --mark: var(--c-graphite);
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  border-block: 1px solid var(--line); }
.co-logos .logos__cell { position: relative; display: none; height: clamp(76px, 4vw + 48px, 112px); background: #fff;
  border-inline-end: 1px solid var(--line); }
.co-logos .logos__cell:nth-child(8n) { border-inline-end: 0; }
.co-logos .logos__cell:nth-child(-n + 8) { border-block-end: 1px solid var(--line); }
.co-logos .logos__cell:nth-child(-n + 16) { display: block; }
/* Checkerboard: even column count, so the pattern flips on the second row. */
.co-logos .logos__cell:nth-child(-n + 8):nth-child(odd),
.co-logos .logos__cell:nth-child(n + 9):nth-child(-n + 16):nth-child(even) { background: #f4f4f3; }
/* "+" on the inner crossings: bottom-end corner of the first row's cells, except the last column. */
.co-logos .logos__cell::after { content: ""; position: absolute; z-index: 2; inset-block-end: -9px; inset-inline-end: -9px; width: 17px; height: 17px;
  display: none; pointer-events: none;
  background: linear-gradient(var(--mark), var(--mark)) center / 100% 1.5px no-repeat, linear-gradient(var(--mark), var(--mark)) center / 1.5px 100% no-repeat; }
.co-logos .logos__cell:nth-child(-n + 7)::after { display: block; }
.co-logos .logos__link { display: grid; place-items: center; width: 100%; height: 100%; padding: .6rem 1rem; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.co-logos .logos__link.is-swapping { opacity: 0; transform: scale(.94); }
.co-logos .logos__cell img { max-width: 72%; max-height: 62%; width: auto; object-fit: contain; transition: transform var(--t) var(--ease); }
.co-logos .logos__link:hover img, .co-logos .logos__link:focus-visible img { transform: scale(1.06); }
.co-logos .logos__link:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -4px; }
.co-logos .logos__word { font-size: 1.15rem; font-weight: 800; color: #2a2b2e; white-space: nowrap; }
[data-theme="dark"] .co-logos .logos__grid { --line: rgb(255 255 255 / 12%); --mark: rgb(255 255 255 / 55%); }
/* Tablets: 4 × 2. */
@media (max-width: 1100px) {
  .co-logos .logos__grid { --cols: 4; }
  .co-logos .logos__cell { background: #fff; border-inline-end: 1px solid var(--line); border-block-end: 0; display: none; }
  .co-logos .logos__cell:nth-child(4n) { border-inline-end: 0; }
  .co-logos .logos__cell:nth-child(-n + 4) { border-block-end: 1px solid var(--line); }
  .co-logos .logos__cell:nth-child(-n + 8) { display: block; }
  .co-logos .logos__cell:nth-child(-n + 8):nth-child(odd) { background: #fff; }
  .co-logos .logos__cell:nth-child(-n + 4):nth-child(odd),
  .co-logos .logos__cell:nth-child(n + 5):nth-child(-n + 8):nth-child(even) { background: #f4f4f3; }
  .co-logos .logos__cell::after { display: none; }
  .co-logos .logos__cell:nth-child(n + 9) { display: none; }
  .co-logos .logos__cell:nth-child(n + 5) { border-block-end: 0; }
  .co-logos .logos__cell:nth-child(n + 4)::after { display: none; }
  .co-logos .logos__cell:nth-child(-n + 3)::after { display: block; }
}
/* Phones: 3 × 2. Odd column count, so plain odd/even makes the checkerboard. */
@media (max-width: 720px) {
  .co-logos .logos__grid { --cols: 3; }
  .co-logos .logos__cell, .co-logos .logos__cell:nth-child(4n) { background: #fff; border-inline-end: 1px solid var(--line); border-block-end: 0; display: none; }
  .co-logos .logos__cell:nth-child(3n) { border-inline-end: 0; }
  .co-logos .logos__cell:nth-child(-n + 3) { border-block-end: 1px solid var(--line); }
  .co-logos .logos__cell:nth-child(-n + 6) { display: block; }
  .co-logos .logos__cell:nth-child(n + 5):nth-child(-n + 8):nth-child(even) { background: #fff; }
  .co-logos .logos__cell:nth-child(-n + 6):nth-child(odd) { background: #f4f4f3; }
  .co-logos .logos__cell::after { display: none; }
  .co-logos .logos__cell:nth-child(n + 7) { display: none; }
  .co-logos .logos__cell:nth-child(n + 4) { border-block-end: 0; }
  .co-logos .logos__cell:nth-child(n + 3)::after { display: none; }
  .co-logos .logos__cell:nth-child(-n + 2)::after { display: block; }
  .co-logos .logos__cell img { max-height: 46%; }
}

@media (max-width: 900px) {
  .consult, .co-page { grid-template-columns: 1fr; }
  .co-aside { position: static; }
}
@media (max-width: 560px) {
  .consult__form { grid-template-columns: 1fr; }
}

/* ══ Company home ═══════════════════════════════════════════════════════════
   Hero (one product) · solutions bento · a day in a smart home · process · projects line.
   Product photos are shot on white: their tiles stay light (multiply blends the white away). */

/* ── Hero ── */
.co-hero2 { overflow: hidden; background: var(--c-bg); }
.co-hero2__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center;
  min-height: 0; padding-block: clamp(1rem, .5rem + 2vw, 2.5rem) clamp(.5rem, .25rem + 1vw, 1.25rem); }
.co-hero2--solo .co-hero2__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; text-align: center; justify-items: center; }
.co-hero2 .eyebrow { color: var(--c-accent); }
.co-hero2 h1 { margin-block: .7rem 1rem; letter-spacing: -.02em; }
.co-hero2 .lead { max-width: 34rem; color: var(--c-muted); }
.co-hero2__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 1.4rem; }
.co-hero2--solo .co-hero2__actions { justify-content: center; }
.co-hero2__note { display: inline-flex; align-items: center; gap: .45rem; margin-block-start: 1rem; font-size: var(--fs-small); color: var(--c-muted); }
.co-hero2__note .icon { width: 16px; height: 16px; color: var(--c-accent); }
.co-hero2__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.co-hero2__media::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle, #f1f1f3 0%, #f7f7f8 55%, transparent 72%); }
.co-hero2__media img { position: relative; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  animation: co-rise .9s var(--ease) both; }
@keyframes co-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* ── Section heads: big, centred, one line of lead ── */
.co-head { max-width: 46rem; margin: 0 auto clamp(1rem, .75rem + 1vw, 1.75rem); text-align: center; }
.co-head .lead { margin-block-start: .75rem; color: var(--c-muted); }

/* ── Bento: 4 × 3 — the first tile 2 × 2, then four squares, then two wide tiles ── */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: clamp(.75rem, .5rem + .8vw, 1.25rem); }
.bento__tile { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: clamp(1.1rem, .9rem + .6vw, 1.6rem);
  border-radius: 24px; background: #f5f5f7; color: #1d1d1f; text-decoration: none; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.bento__tile:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgb(15 16 18 / 45%); }
.bento__tile--lg { grid-column: span 2; grid-row: span 2; }
.bento__tile--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 1rem; }
.bento__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .35rem; }
.bento__tile--wide .bento__text { flex: 1 1 50%; }
.bento__title { font-size: 1.15rem; font-weight: 800; line-height: 1.5; }
.bento__tile--lg .bento__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.bento__lead { font-size: .88rem; line-height: 1.85; color: #6e6e73; }
.bento__tile--lg .bento__lead { font-size: 1rem; max-width: 30rem; }
/* What the solution does: a short check list from the page's own feature list. */
.bento__features { display: grid; gap: .3rem; margin-block: .45rem .15rem; }
.bento__features span { display: flex; align-items: flex-start; gap: .45rem; font-size: .84rem; line-height: 1.7; color: #3a3a3c; }
.bento__features .icon { flex: none; width: 15px; height: 15px; margin-block-start: .3rem; color: var(--c-accent); }
.bento__tile--lg .bento__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; max-width: 34rem; }
.bento__tile--lg .bento__features span { font-size: .92rem; }
.bento__more { display: inline-flex; align-items: center; gap: .3rem; margin-block-start: .25rem; font-size: .85rem; font-weight: 700; color: var(--c-accent); }
.bento__more .icon { width: 15px; height: 15px; transition: translate var(--t) var(--ease); }
.bento__tile:hover .bento__more .icon { translate: -3px 0; }
[dir="ltr"] .bento__tile:hover .bento__more .icon { translate: 3px 0; }
.bento__media { flex: 1; display: grid; place-items: center; min-height: 120px; margin-block-start: .75rem; }
.bento__tile--wide .bento__media { flex: 1 1 50%; height: 100%; margin: 0; }
.bento__media img { width: 78%; max-height: 210px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.bento__tile--lg .bento__media img { width: 72%; max-height: 380px; }
.bento__tile:hover .bento__media img { transform: scale(1.04); }
.bento__media .icon { width: 56px; height: 56px; color: #c7c7cc; }

/* ── A day in a smart home ── */
.co-day { margin-block: 0; padding-block: clamp(1.75rem, 1rem + 2.5vw, 3.25rem); background: #0f1012; color: #f5f5f7; }
.co-day__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); align-items: center; }
.co-day .eyebrow { color: #6cb8ea; }
.co-day__title { margin-block: .6rem 1.6rem; font-size: clamp(1.7rem, 1.15rem + 1.7vw, 2.6rem); font-weight: 850; line-height: 1.4; letter-spacing: -.01em; color: #fff; }
.co-day__title span { display: block; color: #8e8e93; }
/* Timeline: a hairline through the icon dots; the chosen moment lights up in its own colour. */
.co-day__moments { position: relative; display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.co-day__moments::before { content: ""; position: absolute; inset-block: 1.6rem; inset-inline-start: calc(1rem + 19px); width: 1px; background: linear-gradient(to bottom, transparent, rgb(255 255 255 / 14%) 12%, rgb(255 255 255 / 14%) 88%, transparent); }
.co-day__moment { --tone: #6cb8ea; position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 1rem; align-items: center; width: 100%; padding: .7rem 1rem; overflow: hidden;
  border: 1px solid transparent; border-radius: 18px; background: transparent; color: #8e8e93; text-align: start; font: inherit; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.co-day__moment--morning { --tone: #ffb35c; }
.co-day__moment--away { --tone: #5fb4ff; }
.co-day__moment--home { --tone: #ff8a5c; }
.co-day__moment--night { --tone: #8f9bff; }
.co-day__moment:hover { color: #e5e5ea; }
.co-day__moment[aria-selected="true"] { color: #fff; border-color: rgb(255 255 255 / 8%);
  background: linear-gradient(to left, color-mix(in srgb, var(--tone) 14%, transparent), rgb(255 255 255 / 3%) 70%); }
[dir="ltr"] .co-day__moment[aria-selected="true"] { background: linear-gradient(to right, color-mix(in srgb, var(--tone) 14%, transparent), rgb(255 255 255 / 3%) 70%); }
.co-day__moment:focus-visible { outline: 2px solid var(--tone); outline-offset: 2px; }
.co-day__dot { position: relative; z-index: 1; grid-row: span 2; align-self: start; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #17181c; border: 1px solid rgb(255 255 255 / 12%); color: #8e8e93; transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.co-day__dot .icon { width: 18px; height: 18px; }
.co-day__moment[aria-selected="true"] .co-day__dot { background: var(--tone); border-color: transparent; color: #0f1012;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 22%, transparent), 0 8px 28px -6px var(--tone); }
.co-day__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 40px; }
.co-day__name { font-size: 1.05rem; font-weight: 800; }
.co-day__time { padding: .15rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #a1a1a6; background: rgb(255 255 255 / 6%); }
.co-day__moment[aria-selected="true"] .co-day__time { color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); }
/* The text of the chosen moment opens under its name. */
.co-day__desc { grid-column: 2; max-height: 0; overflow: hidden; font-size: .92rem; line-height: 1.95; color: #c7c7cc; opacity: 0;
  transition: max-height .5s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.co-day__moment[aria-selected="true"] .co-day__desc { max-height: 8rem; opacity: 1; margin-block: .1rem .45rem; }
/* Progress line of the running moment (autoplay). */
.co-day__bar { position: absolute; inset-inline: calc(1rem + 56px) 1rem; inset-block-end: .45rem; height: 2px; border-radius: 2px; background: var(--tone); transform-origin: 100% 50%; scale: 0 1; opacity: 0; }
[dir="ltr"] .co-day__bar { transform-origin: 0 50%; }
.co-day.is-playing .co-day__moment[aria-selected="true"] .co-day__bar { opacity: .85; animation: co-day-bar var(--day-step, 5s) linear both; }
@keyframes co-day-bar { to { scale: 1 1; } }
.co-day__stage { min-width: 0; }
/* ── Day stage: a modern villa; the stage's data-moment sets sky, light and devices ── */
.co-day__stage { position: relative; }
.day-house { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 80%), 0 0 0 1px rgb(255 255 255 / 6%);
  --slab: #e4dfd6; --wall: #3b3b3e; --mtn-far: #2d3656; --mtn-near: #1a2035; --ground: #17181b; --tree: #12261c; --t-day: 1.1s; }
.day-house * { transition: opacity var(--t-day) var(--ease), fill var(--t-day) var(--ease), transform var(--t-day) var(--ease); }
.dh-sky { opacity: 0; }
.dh-stars circle { fill: #fff; opacity: 0; }
.dh-sun { transform: translate(100px, 300px); opacity: 0; }
.dh-sun__disc { fill: #ffd59a; }
.dh-moon { transform: translate(690px, 150px); opacity: 0; }
.dh-moon__cut { fill: #0a1022; }
.dh-clouds { opacity: 0; }
.dh-cloud ellipse { fill: #fff; opacity: .55; }
.dh-cloud { animation: dh-drift 38s linear infinite alternate; }
.dh-cloud--slow { animation-duration: 54s; }
@keyframes dh-drift { to { transform: translateX(60px); } }
.dh-mtn--far { fill: var(--mtn-far); opacity: .55; }
.dh-mtn--near { fill: var(--mtn-near); opacity: .85; }
.dh-ground { fill: var(--ground); }
.dh-lawn { fill: #23402e; opacity: .5; }
.dh-tree { fill: var(--tree); }
.dh-wall { fill: var(--wall); }
.dh-slab { fill: var(--slab); }
.dh-slab--base { opacity: .6; }
.dh-room { fill: #0d0f13; }
.dh-light { opacity: 0; }
.dh-furn > * { fill: #050608; }
.dh-furn .dh-art { fill: #1b1d22; stroke: rgb(255 255 255 / 12%); }
.dh-furn .dh-shade { fill: #1d1f24; }
.dh-furn .dh-screen, .dh-furn .dh-tv { fill: #10131a; }
.dh-furn .dh-books rect { fill: #2a2d34; }
.dh-furn path:not(.dh-shade) { fill: none; stroke: #050608; stroke-width: 4; }
.dh-furn .dh-cord { stroke: #4a4d55; stroke-width: 1.2; }
.dh-furn .dh-cord--lamp { stroke: #050608; stroke-width: 3; }
.dh-curtain { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(1); }
.dh-glass { opacity: .9; pointer-events: none; }
.dh-frame { fill: none; stroke: #8c8e94; stroke-width: 2.5; }
.dh-mullion { stroke: #8c8e94; stroke-width: 1.5; opacity: .7; }
.dh-door { fill: #6e4c34; }
.dh-door-light { fill: #ffcf86; opacity: 0; }
.dh-handle { fill: #d9c6a0; }
.dh-lock rect { fill: #8fd3ff; }
.dh-shackle { fill: none; stroke: #8fd3ff; stroke-width: 2; stroke-linecap: round; }
.dh-shackle--open { opacity: 0; }
.dh-porch, .dh-spill, .dh-bollard-glow, .dh-pool-light { opacity: 0; }
.dh-car { fill: #1c1f26; stroke: #3a3e47; stroke-width: 1.5; }
.dh-wheel { fill: #050608; }
.dh-gdoor rect { fill: #c9c3b8; }
.dh-gdoor line { stroke: #a39d92; stroke-width: 1.5; }
.dh-gdoor { transform-box: fill-box; transform-origin: 50% 0; }
.dh-alarm { opacity: .35; }
.dh-alarm__bg { fill: #1c1f26; stroke: rgb(255 255 255 / 25%); }
.dh-alarm__ring { fill: none; stroke: #ff6b5e; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.dh-alarm__shield { fill: #8e9198; }
.dh-pool { fill: url(#dh-water); opacity: .75; }
.dh-pool-light { fill: #7fe0ff; }
.dh-pool-wave { fill: none; stroke: rgb(255 255 255 / 35%); stroke-width: 1.2; animation: dh-wave 4s ease-in-out infinite alternate; }
@keyframes dh-wave { to { transform: translateX(-10px); } }
.dh-path { fill: #2a2b2f; }
.dh-bollard { fill: #55585f; }
.dh-music { opacity: 0; fill: #ffe2a8; font-size: 20px; }
.dh-music text { animation: dh-note 3s ease-in-out infinite; }
.dh-music text:nth-child(2) { animation-delay: 1s; }
.dh-music text:nth-child(3) { animation-delay: 2s; }
@keyframes dh-note { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }

/* Morning: dawn, bedroom curtains up and warm, living lit softly */
[data-moment="morning"] .dh-sky--morning { opacity: 1; }
[data-moment="morning"] .dh-sun { opacity: 1; }
[data-moment="morning"] .dh-clouds { opacity: .8; }
[data-moment="morning"] .day-house { --wall: #3d3a38; --slab: #e8ddcf; --mtn-far: #7b7fa4; --mtn-near: #3e4560; }
[data-moment="morning"] .dh-light[data-room="bed"] { opacity: .9; }
[data-moment="morning"] .dh-light[data-room="living"] { opacity: .45; }
[data-moment="morning"] .dh-curtain:is([data-room="bed"], [data-room="living"]) { transform: scaleY(.08); }
[data-moment="morning"] .dh-shade[data-room="bed"] { fill: #ffd58c; }
[data-moment="morning"] .dh-spill { opacity: .35; }

/* Away: bright day, everything off, shades down, garage shut, alarm armed */
[data-moment="away"] .dh-sky--away { opacity: 1; }
[data-moment="away"] .dh-sun { opacity: 1; transform: translate(690px, 140px); }
[data-moment="away"] .dh-sun__disc { fill: #fff3c4; }
[data-moment="away"] .dh-clouds { opacity: 1; }
[data-moment="away"] .day-house { --wall: #4a4a4d; --slab: #f1eee8; --mtn-far: #6f8fb8; --mtn-near: #3c5070; --ground: #1d2022; --tree: #1a3a28; }
[data-moment="away"] .dh-glass { opacity: 1; }
[data-moment="away"] .dh-alarm { opacity: 1; }
[data-moment="away"] .dh-alarm__shield { fill: #ff6b5e; }
[data-moment="away"] .dh-alarm__ring { animation: dh-pulse 2s ease-out infinite; }
@keyframes dh-pulse { 0% { opacity: .8; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.8); } }

/* Home: sunset, living and study lit, door unlocked, garage up, path lights, music */
[data-moment="home"] .dh-sky--home { opacity: 1; }
[data-moment="home"] .dh-sun { opacity: 1; transform: translate(700px, 262px); }
[data-moment="home"] .dh-sun__disc { fill: #ff9a5a; }
[data-moment="home"] .day-house { --wall: #2e2b31; --slab: #cbb7b1; --mtn-far: #5a3f63; --mtn-near: #2a2038; --ground: #141316; --tree: #10201a; }
[data-moment="home"] .dh-light:is([data-room="living"], [data-room="garage"]) { opacity: 1; }
[data-moment="home"] .dh-light[data-room="study"] { opacity: .7; }
[data-moment="home"] .dh-curtain:is([data-room="living"], [data-room="study"]) { transform: scaleY(.08); }
[data-moment="home"] .dh-shade[data-room="living"] { fill: #ffd58c; }
[data-moment="home"] .dh-furn .dh-tv { fill: #3a6ea8; }
[data-moment="home"] .dh-gdoor { transform: scaleY(.12); }
[data-moment="home"] :is(.dh-spill, .dh-porch, .dh-bollard-glow) { opacity: 1; }
[data-moment="home"] .dh-door-light { opacity: .18; }
[data-moment="home"] .dh-bollard { fill: #ffd58c; }
[data-moment="home"] .dh-shackle--closed { opacity: 0; }
[data-moment="home"] .dh-shackle--open { opacity: 1; }
[data-moment="home"] .dh-music { opacity: 1; }
[data-moment="home"] .dh-glass { opacity: .5; }

/* Night: stars and moon, curtains closed, only the path and the pool glow; alarm armed */
[data-moment="night"] .dh-sky--night { opacity: 1; }
[data-moment="night"] .dh-stars circle { opacity: .85; animation: dh-twinkle 3s ease-in-out infinite; }
@keyframes dh-twinkle { 50% { opacity: .25; } }
[data-moment="night"] .dh-moon { opacity: 1; }
[data-moment="night"] .day-house { --wall: #24252b; --slab: #6b6e78; --mtn-far: #1d2440; --mtn-near: #10142a; --ground: #0b0c0e; --tree: #08130e; }
[data-moment="night"] .dh-light[data-room="living"] { opacity: .3; }
[data-moment="night"] .dh-glass { opacity: .35; }
[data-moment="night"] .dh-bollard-glow { opacity: .55; }
[data-moment="night"] .dh-bollard { fill: #c9a25a; }
[data-moment="night"] .dh-pool-light { opacity: .35; }
[data-moment="night"] .dh-pool { opacity: 1; }
[data-moment="night"] .dh-alarm { opacity: 1; }
[data-moment="night"] .dh-alarm__shield { fill: #6cb8ea; }

/* Status chips: what the house just did */
.day-chips { position: absolute; inset-block-start: 1.1rem; inset-inline-end: 1.1rem; justify-items: end; display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.day-chips li { display: none; align-items: center; gap: .5rem; width: max-content; padding: .42rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #f5f5f7;
  background: rgb(18 19 24 / 55%); border: 1px solid rgb(255 255 255 / 14%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -12px rgb(0 0 0 / 70%); animation: day-chip .6s var(--ease) both; animation-delay: calc(.35s + var(--i) * .22s); }
.day-chips__dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgb(52 199 89 / 22%); }
@keyframes day-chip { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
[data-moment="morning"] .day-chips li[data-for="morning"], [data-moment="away"] .day-chips li[data-for="away"],
[data-moment="home"] .day-chips li[data-for="home"], [data-moment="night"] .day-chips li[data-for="night"] { display: flex; }
@media (max-width: 560px) {
  .day-chips { inset-block-start: .6rem; inset-inline-end: .6rem; gap: .3rem; }
  .day-chips li { font-size: .7rem; padding: .3rem .6rem; }
  .day-chips li[style*="--i: 2"] { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dh-cloud, .dh-pool-wave, .dh-music text, .dh-stars circle, .dh-alarm__ring, .day-chips li { animation: none !important; }
}

/* ── Process: four numbered steps on one line ── */
.co-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--c-border); }
.co-process li + li { border-inline-start: 1px solid var(--c-border); }
.co-process__step { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.75rem 1.5rem 1.5rem; color: inherit; text-decoration: none; transition: background var(--t) var(--ease); }
.co-process__step:hover { background: var(--c-bg-subtle); }
.co-process__num { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--c-border-strong); letter-spacing: -.02em; transition: color var(--t) var(--ease); }
.co-process__step:hover .co-process__num { color: var(--c-accent); }
.co-process__title { margin-block-start: .75rem; font-size: 1.15rem; font-weight: 800; }
.co-process__text { font-size: .92rem; line-height: 1.85; color: var(--c-muted); }
.co-process__more { margin-block-start: auto; padding-block-start: .5rem; display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 700; color: var(--c-accent); }
.co-process__more .icon { width: 15px; height: 15px; }

/* ── Projects line (marquee) and figures ── */

/* ── Dark theme: the photo tiles stay light, the rest follows the tokens ── */
[data-theme="dark"] .co-hero2__media::before { background: radial-gradient(circle, rgb(255 255 255 / 9%) 0%, transparent 70%); }
[data-theme="dark"] .co-hero2__media img { mix-blend-mode: normal; border-radius: 28px; }
[data-theme="dark"] .co-day { background: #08090a; }

/* ── Smaller screens ── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__tile--lg { grid-column: span 2; grid-row: span 1; }
  .co-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-process li:nth-child(3) { border-inline-start: 0; }
  .co-process li:nth-child(n + 3) { border-block-start: 1px solid var(--c-border); }
}
@media (max-width: 900px) {
  .co-hero2__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; text-align: center; justify-items: center; }
  .co-hero2__actions { justify-content: center; }
  .co-hero2__media { width: min(78%, 340px); }
  .co-day__inner { grid-template-columns: minmax(0, 1fr); }
  .co-day__stage { order: -1; }
}
@media (max-width: 560px) {
  /* Phones: one column; each tile is text (title, summary, features) beside a small photo. */
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: .6rem; }
  .bento__tile, .bento__tile--lg, .bento__tile--wide { grid-column: auto; grid-row: auto; flex-direction: row; align-items: center; gap: .9rem; padding: 1rem; border-radius: 20px; }
  .bento__tile .bento__text { flex: 1 1 auto; min-width: 0; }
  .bento__tile .bento__title, .bento__tile--lg .bento__title { font-size: 1.02rem; }
  .bento__tile .bento__lead, .bento__tile--lg .bento__lead { font-size: .84rem; }
  .bento__features span { font-size: .8rem; }
  .bento__tile--lg .bento__features { grid-template-columns: minmax(0, 1fr); }
  .bento__tile--lg .bento__features span { font-size: .8rem; }
  .bento__tile .bento__media, .bento__tile--wide .bento__media { flex: 0 0 92px; width: 92px; height: 92px; min-height: 0; margin: 0; }
  .bento__media img, .bento__tile--lg .bento__media img { width: 100%; max-height: 92px; }
  .co-process { grid-template-columns: minmax(0, 1fr); }
  .co-process li + li { border-inline-start: 0; border-block-start: 1px solid var(--c-border); }
  .co-day__moment { grid-template-columns: 36px 1fr; column-gap: .75rem; padding: .6rem .75rem; }
  .co-day__dot { width: 36px; height: 36px; }
  .co-day__moments::before { inset-inline-start: calc(.75rem + 17px); }
  .co-day__bar { inset-inline-start: calc(.75rem + 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .co-marquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .co-marquee__list[aria-hidden="true"] { display: none; }
  .co-hero2__media img { animation: none; }
  .day-house * { transition: none; }
}

/* Company home: tighter vertical rhythm than the site default (sections sit closer). */
.page-company-home .section { padding-block: clamp(1.25rem, .9rem + 1.2vw, 2.25rem); }
.page-company-home .section + .section { padding-block-start: 0; }
.page-company-home .co-day + .section, .page-company-home .section + .co-day { margin-block-start: 0; }

/* ── Solutions bento, luxury: dark tiles, a soft light behind each product, a deep shadow under it ──
   The catalog photos are cut out (transparent), so the product sits on the light, not in a white box. */
.co-bento { background: #0a0a0b; color: #f5f5f7; padding-block: clamp(2rem, 1.25rem + 2.5vw, 3.75rem) !important; }
.co-bento .co-head h2 { color: #fff; }
.co-bento .co-head .lead { color: #a1a1a6; }
.co-bento .bento__tile { background: linear-gradient(180deg, #17171a 0%, #0f0f11 100%); color: #f5f5f7; border: 1px solid rgb(255 255 255 / 7%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%); }
.co-bento .bento__tile:hover { transform: translateY(-4px); border-color: rgb(255 255 255 / 14%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%), 0 30px 60px -30px rgb(0 0 0 / 80%); }
.co-bento .bento__title { color: #fff; letter-spacing: -.01em; }
.co-bento .bento__lead { color: #a1a1a6; }
.co-bento .bento__features span { color: #d1d1d6; }
.co-bento .bento__features .icon, .co-bento .bento__more { color: #6cb8ea; }
/* The product: its own spotlight and floor shadow. */
.co-bento .bento__media { position: relative; isolation: isolate; }
.co-bento .bento__media::before { content: ""; position: absolute; z-index: -1; inset: 4% 10% 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(160 190 225 / 22%), rgb(160 190 225 / 6%) 55%, transparent); filter: blur(6px); }
.co-bento .bento__media::after { content: ""; position: absolute; z-index: -1; inset-inline: 22%; bottom: 6%; height: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 75%), transparent); }
.co-bento .bento__media img { mix-blend-mode: normal; width: 84%; max-height: 240px; filter: drop-shadow(0 22px 28px rgb(0 0 0 / 55%)) drop-shadow(0 2px 4px rgb(0 0 0 / 35%));
  transition: transform .7s var(--ease), filter .7s var(--ease); }
.co-bento .bento__tile--lg .bento__media img { width: 94%; max-height: 480px; }
.co-bento .bento__tile:hover .bento__media img { transform: translateY(-6px) scale(1.03); filter: drop-shadow(0 30px 36px rgb(0 0 0 / 60%)) drop-shadow(0 2px 4px rgb(0 0 0 / 35%)); }
.co-bento .bento__media .icon { color: #3a3a3c; }
@media (max-width: 560px) {
  .co-bento .bento__media::after { bottom: 2%; }
  .co-bento .bento__media img, .co-bento .bento__tile--lg .bento__media img { width: 100%; max-height: 92px; }
}

/* ── Large tile with labelled devices (config showcase.<slug>.tags/flow): the photo bleeds past the
   tile's sides, a glass label sits on each device and the call path runs under it ── */
.bento__stage { display: contents; }
.co-bento .bento__media--bleed { margin-inline: -5%; margin-block-start: auto; padding-block-start: 1.5rem; }
.co-bento .bento__media--bleed .bento__stage { position: relative; display: block; width: 100%; transition: transform .7s var(--ease); }
.co-bento .bento__tile--lg .bento__media--bleed img { display: block; width: 100%; max-height: none; }
.co-bento .bento__tile:hover .bento__media--bleed img { transform: none; }
.co-bento .bento__tile:hover .bento__media--bleed .bento__stage { transform: translateY(-6px) scale(1.02); }
.bento__tag { position: absolute; z-index: 2; translate: -50% -125%; display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; font-size: .76rem; font-weight: 600; color: #f5f5f7;
  background: rgb(28 28 32 / 62%); border: 1px solid rgb(255 255 255 / 14%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -10px rgb(0 0 0 / 70%); }
.bento__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6cb8ea; box-shadow: 0 0 0 3px rgb(108 184 234 / 22%); }
.bento__flow { position: relative; z-index: 1; display: flex; align-items: center; gap: .6rem; margin: 1.1rem 0 0; padding: 1rem 0 0;
  list-style: none; border-block-start: 1px solid rgb(255 255 255 / 8%); }
.bento__flow li { display: flex; flex: 1 1 0; align-items: center; gap: .55rem; min-width: 0; font-size: .84rem; line-height: 1.6; color: #d1d1d6; }
.bento__flow li:not(:last-child)::after { content: ""; flex: 1 1 1.5rem; min-width: 1rem; height: 1px; background: linear-gradient(to left, rgb(108 184 234 / 55%), rgb(255 255 255 / 8%)); }
[dir="ltr"] .bento__flow li:not(:last-child)::after { background: linear-gradient(to right, rgb(108 184 234 / 55%), rgb(255 255 255 / 8%)); }
.bento__flow li > span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font-size: .75rem; font-weight: 700; color: #6cb8ea; border: 1px solid rgb(108 184 234 / 45%); }
@media (max-width: 1024px) {
  .co-bento .bento__media--bleed { margin-inline: -4%; }
}
@media (max-width: 560px) {
  .co-bento .bento__media--bleed { margin: 0; }
  .bento__tag, .bento__flow { display: none; }
}

/* ── Seven tiles: the right column holds two large tiles of a row and a half each (half-row grid) ── */
@media (min-width: 1025px) {
  .bento:has(.bento__tile--half) { grid-auto-rows: minmax(110px, auto); }
  .bento:has(.bento__tile--half) > .bento__tile { grid-row: span 2; }
  .bento:has(.bento__tile--half) > .bento__tile--half { grid-row: span 3; }
  .co-bento .bento__tile--half .bento__media img { max-height: 380px; }
  .co-bento .bento__tile--half .bento__media--bleed { margin-inline: 0; padding-block-start: .5rem; }
  .co-bento .bento__tile--half .bento__media--bleed .bento__stage { width: 84%; margin-inline: auto; }
  .co-bento .bento__tile--half .bento__flow { margin-block-start: .6rem; padding-block-start: .8rem; }
}

/* ── Phones: the hero photo first and short (it fell below the fold), the two actions on one line ── */
@media (max-width: 560px) {
  .co-hero2__inner { gap: .5rem; padding-block: .75rem 1.5rem; }
  .co-hero2__media { order: -1; width: min(86%, 320px); aspect-ratio: 16 / 10; }
  .co-hero2__media::before { inset: 0 12%; }
  .co-hero2__media img { object-fit: cover; }
  .co-hero2 h1 { margin-block: .4rem .6rem; }
  .co-hero2__actions { flex-wrap: nowrap; width: 100%; margin-block-start: 1rem; }
  .co-hero2__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: .75rem; }
}

/* ── Solution page without a cover photo: the bento cut-out on a dark stage ── */
.co-stage { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 16 / 9; margin-block-end: 1.75rem; padding: 6%;
  border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(60% 70% at 50% 40%, #26272c 0%, #121214 70%, #0a0a0b 100%); }
.co-stage::after { content: ""; position: absolute; z-index: -1; inset-inline: 25%; bottom: 8%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / 80%), transparent); }
.co-stage img { width: auto; max-width: 88%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgb(0 0 0 / 55%)); }

/* ── Project page with small photos: all of them in one row, each as wide as its proportions ── */
.project-strip { display: flex; gap: .75rem; height: clamp(260px, 30vw, 440px); margin-block-end: 1.5rem; }
.project-strip a { display: block; min-width: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--c-bg-subtle); }
.project-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-strip a:hover img { transform: scale(1.03); }
@media (max-width: 640px) {
  .project-strip { flex-direction: column; height: auto; }
  .project-strip a { flex: none !important; }
  .project-strip img { height: auto; }
}

/* ── Hero: full-bleed project photos, cross-faded with a slow push-in; text on a dark wash ── */
.co-hero3 { --slide: 7s; position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: min(92svh, 820px); overflow: hidden; background: #0b0b0c; color: #fff; }
.co-hero3__media { position: absolute; inset: 0; z-index: -2; }
.co-hero3__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  animation: co-hero3-fade calc(var(--slide) * var(--slides)) linear infinite; animation-delay: calc(var(--slide) * var(--n) - .8s); }
.co-hero3__slide:first-child { opacity: 1; }
@keyframes co-hero3-fade {
  0% { opacity: 0; transform: scale(1.02); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.1); }
}
/* Dark wash from the text side, and a floor shadow for the captions. */
.co-hero3::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgb(8 8 10 / 88%) 0%, rgb(8 8 10 / 62%) 38%, rgb(8 8 10 / 12%) 72%, rgb(8 8 10 / 30%) 100%),
              linear-gradient(to top, rgb(8 8 10 / 70%) 0%, transparent 32%); }
[dir="ltr"] .co-hero3::before { background: linear-gradient(to right, rgb(8 8 10 / 88%) 0%, rgb(8 8 10 / 62%) 38%, rgb(8 8 10 / 12%) 72%, rgb(8 8 10 / 30%) 100%), linear-gradient(to top, rgb(8 8 10 / 70%) 0%, transparent 32%); }
.co-hero3__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 2rem; padding-block: clamp(3rem, 2rem + 4vw, 6rem) 2rem; }
.co-hero3__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: #9fd3ff; }
.co-hero3__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.co-hero3__title { margin-block: .9rem 1.1rem; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.co-hero3__lead { max-width: 34rem; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 2; color: rgb(255 255 255 / 78%); }
.co-hero3__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 1.8rem; }
.co-hero3__cta { background: #fff; color: #0b0b0c; border-color: #fff; }
.co-hero3__cta:hover { background: #e9e9ec; color: #0b0b0c; }
.co-hero3__ghost { color: #fff; background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 28%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.co-hero3__ghost:hover { background: rgb(255 255 255 / 18%); color: #fff; }
.co-hero3__facts { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 1rem + 2vw, 3rem); margin: 2.4rem 0 0; padding-block-start: 1.4rem; border-block-start: 1px solid rgb(255 255 255 / 14%); max-width: 34rem; }
.co-hero3__facts div { display: flex; flex-direction: column-reverse; gap: .15rem; }
.co-hero3__facts dt { font-size: .8rem; color: rgb(255 255 255 / 62%); }
.co-hero3__facts dd { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 850; font-variant-numeric: tabular-nums; color: #fff; }

/* Glass control card */
.co-hero3__panel { justify-self: end; align-self: end; width: min(100%, 300px); padding: 1.1rem; border-radius: 24px; color: #fff;
  background: rgb(20 20 24 / 42%); border: 1px solid rgb(255 255 255 / 18%); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 80%); animation: co-hero3-float 7s ease-in-out infinite alternate; }
[dir="rtl"] .co-hero3__panel { justify-self: start; }
@keyframes co-hero3-float { to { transform: translateY(-10px); } }
.co-hero3__panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-block-end: .85rem; font-size: .85rem; color: rgb(255 255 255 / 75%); }
.co-hero3__panel-head b { font-size: 1.6rem; font-weight: 800; color: #fff; }
.co-hero3__scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin-block-end: .9rem; }
.co-hero3__scenes span { display: grid; place-items: center; padding: .5rem 0; border-radius: 12px; font-size: .72rem; font-weight: 700; background: rgb(255 255 255 / 8%); color: rgb(255 255 255 / 80%); }
.co-hero3__scenes .is-on { background: #fff; color: #0b0b0c; }
.co-hero3__row { display: flex; align-items: center; gap: .7rem; padding-block: .5rem; border-block-start: 1px solid rgb(255 255 255 / 10%); font-size: .82rem; }
.co-hero3__row > span { flex: 1; }
.co-hero3__row small { font-size: .75rem; color: rgb(255 255 255 / 70%); }
.co-hero3__meter { flex: 0 0 90px; height: 6px; border-radius: 6px; background: rgb(255 255 255 / 16%); overflow: hidden; }
.co-hero3__meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(to left, #ffd58c, #ffb35c); }
.co-hero3__switch { position: relative; flex: 0 0 38px; height: 22px; border-radius: 22px; background: rgb(255 255 255 / 18%); }
.co-hero3__switch::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: inset .3s; }
.co-hero3__switch.is-on { background: #34c759; }
.co-hero3__switch.is-on::after { inset-inline-start: 19px; }

/* Caption: the project on screen, in step with the photos */
.co-hero3__captions { position: relative; min-height: 3.2rem; padding-block-end: 1.6rem; }
.co-hero3__caption { position: absolute; inset-block-end: 1.6rem; display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700; color: #fff; background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 18%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none;
  animation: co-hero3-cap calc(var(--slide) * var(--slides)) linear infinite; animation-delay: calc(var(--slide) * var(--n) - .8s); }
.co-hero3__caption small { font-weight: 500; color: rgb(255 255 255 / 70%); }
.co-hero3__caption:hover { background: rgb(255 255 255 / 20%); color: #fff; }
.co-hero3__caption-dot { width: 7px; height: 7px; border-radius: 50%; background: #9fd3ff; }
@keyframes co-hero3-cap { 0%, 4% { opacity: 0; pointer-events: none; } 8%, 32% { opacity: 1; pointer-events: auto; } 38%, 100% { opacity: 0; pointer-events: none; } }
@media (max-width: 900px) {
  .co-hero3 { min-height: min(86svh, 720px); }
  .co-hero3__inner { grid-template-columns: minmax(0, 1fr); align-content: end; }
  .co-hero3__panel { display: none; }
  .co-hero3::before { background: linear-gradient(to top, rgb(8 8 10 / 92%) 0%, rgb(8 8 10 / 70%) 45%, rgb(8 8 10 / 25%) 100%); }
}
@media (max-width: 560px) {
  .co-hero3__inner { padding-block: 5rem 1rem; }
  .co-hero3__actions { flex-wrap: nowrap; }
  .co-hero3__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: .7rem; font-size: .9rem; }
  .co-hero3__facts { margin-block-start: 1.6rem; gap: 1.2rem; }
  .co-hero3__lead { font-size: .95rem; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  .co-hero3__slide, .co-hero3__caption, .co-hero3__panel { animation: none; }
  .co-hero3__slide:not(:first-child), .co-hero3__caption:not(:first-child) { display: none; }
  .co-hero3__caption:first-child { opacity: 1; pointer-events: auto; }
}

/* ── Projects on the home page: an editorial mosaic, the photo is the card ── */
.co-works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 15vw, 250px); gap: clamp(.6rem, .4rem + .6vw, 1rem); }
.co-work { position: relative; isolation: isolate; display: block; overflow: hidden; border-radius: 22px; color: #fff; background: #111; }
.co-work--lg { grid-column: span 2; grid-row: span 2; }
.co-work img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.co-work::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 25%) 45%, transparent 70%); transition: opacity .5s var(--ease); }
.co-work:hover img { transform: scale(1.06); }
.co-work__body { position: absolute; inset-inline: 1.1rem; inset-block-end: 1rem; display: grid; gap: .3rem; }
.co-work--lg .co-work__body { inset-inline: 1.6rem; inset-block-end: 1.5rem; }
.co-work__type { justify-self: start; padding: .2rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: rgb(255 255 255 / 16%); border: 1px solid rgb(255 255 255 / 22%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.co-work__title { font-size: 1.05rem; font-weight: 800; line-height: 1.5; }
.co-work--lg .co-work__title { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.co-work__place { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: rgb(255 255 255 / 75%); }
.co-work__place .icon { width: 14px; height: 14px; }
.co-work__go { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: #0b0b0c; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.co-work__go .icon { width: 18px; height: 18px; }
.co-work:hover .co-work__go, .co-work:focus-visible .co-work__go { opacity: 1; transform: none; }
.co-works__more { display: flex; justify-content: center; margin-block-start: 1.5rem; }
@media (max-width: 900px) {
  .co-works { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .co-work--lg { grid-row: span 1; grid-auto-rows: 260px; }
  .co-work--lg { min-height: 280px; }
}
@media (max-width: 560px) {
  .co-works { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 230px; }
  .co-work--lg { grid-column: auto; }
  .co-work__go { opacity: 1; transform: none; width: 34px; height: 34px; }
}

/* ── Proof: statement + figures, two rows of project names moving opposite ways, type filters ── */
.co-proof { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); overflow: hidden; }
.co-proof__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem clamp(2rem, 1rem + 4vw, 5rem); margin-block-end: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.co-proof__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; color: var(--c-accent); }
.co-proof__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.co-proof__title { margin-block: .6rem .7rem; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); font-weight: 900; line-height: 1.3; letter-spacing: -.02em; }
.co-proof__lead { max-width: 36rem; color: var(--c-muted); line-height: 2; }
.co-proof__figures { display: grid; grid-template-columns: repeat(2, minmax(9rem, auto)); gap: 0; margin: 0; border: 1px solid var(--c-border); border-radius: 22px; overflow: hidden; }
.co-proof__figures div { padding: 1rem 1.4rem; border-inline-end: 1px solid var(--c-border); border-block-end: 1px solid var(--c-border); }
.co-proof__figures div:nth-child(2n) { border-inline-end: 0; }
.co-proof__figures div:nth-last-child(-n + 2) { border-block-end: 0; }
.co-proof__figures dd { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.co-proof__figures dd span { color: var(--c-accent); }
.co-proof__figures dt { margin-block-start: .15rem; font-size: .82rem; color: var(--c-muted); }

.co-marquee { display: grid; gap: .75rem; direction: ltr;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.co-marquee__track { display: flex; width: max-content; animation: co-marquee 70s linear infinite; }
.co-marquee__row--rev .co-marquee__track { animation-direction: reverse; animation-duration: 80s; }
.co-marquee:hover .co-marquee__track, .co-marquee:focus-within .co-marquee__track { animation-play-state: paused; }
@keyframes co-marquee { to { transform: translateX(-50%); } }
.co-marquee__list { display: flex; gap: .75rem; margin: 0; padding: 0 .75rem 0 0; list-style: none; }
.co-marquee__list li { direction: rtl; }
.co-marquee__list a { display: flex; align-items: center; gap: .85rem; padding: .55rem 1.4rem .55rem .55rem; border-radius: 999px; white-space: nowrap; text-decoration: none; color: var(--c-ink);
  background: var(--c-bg-subtle); border: 1px solid var(--c-border); transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.co-marquee__list a:hover { background: var(--c-bg); border-color: var(--c-ink); transform: translateY(-2px); }
.co-marquee__list img, .co-marquee__mark { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.co-marquee__mark { display: grid; place-items: center; background: var(--c-bg); color: var(--c-muted); border: 1px solid var(--c-border); }
.co-marquee__mark .icon { width: 20px; height: 20px; }
.co-marquee__list strong { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); font-weight: 800; }
.co-marquee__list span:not(.co-marquee__mark) { font-size: .85rem; color: var(--c-muted); }

.co-proof__types { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-block-start: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.co-proof__type { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .55rem .5rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--c-ink); text-decoration: none;
  border: 1px solid var(--c-border); transition: border-color .3s var(--ease), background .3s var(--ease); }
[dir="rtl"] .co-proof__type { padding: .5rem 1rem .5rem .55rem; }
.co-proof__type b { display: grid; place-items: center; min-width: 26px; height: 26px; padding-inline: .4rem; border-radius: 999px; font-size: .78rem; background: var(--c-bg-subtle); }
.co-proof__type:hover { border-color: var(--c-ink); }
.co-proof__type--all { color: #fff; background: var(--c-ink); border-color: var(--c-ink); }
[dir="rtl"] .co-proof__type--all, .co-proof__type--all { padding-inline: 1.1rem; }
.co-proof__type--all:hover { color: #fff; opacity: .9; }
.co-proof__type--all .icon { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .co-proof__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .co-proof__figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .co-proof__figures div { border-block-end: 0; padding: .8rem .9rem; }
  .co-proof__figures div:nth-child(2n) { border-inline-end: 1px solid var(--c-border); }
  .co-proof__figures div:last-child { border-inline-end: 0; }
}
@media (max-width: 560px) {
  .co-proof__figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-proof__figures div { border-block-end: 1px solid var(--c-border); }
  .co-proof__figures div:nth-child(2n) { border-inline-end: 0; }
  .co-proof__figures div:nth-last-child(-n + 2) { border-block-end: 0; }
  .co-marquee__list img, .co-marquee__mark { width: 40px; height: 40px; }
}

/* ── Consultation, in the hero's language: a project photo under a dark wash, the form on frosted glass ── */
.co-consult .consult { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; background: #0b0b0c;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; padding: clamp(1.5rem, 1rem + 3.5vw, 4.5rem);
  box-shadow: 0 40px 90px -50px rgb(0 0 0 / 70%); }
.consult__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.co-consult .consult::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgb(8 8 10 / 90%) 0%, rgb(8 8 10 / 72%) 45%, rgb(8 8 10 / 55%) 100%); }
[dir="ltr"] .co-consult .consult::before { background: linear-gradient(to right, rgb(8 8 10 / 90%) 0%, rgb(8 8 10 / 72%) 45%, rgb(8 8 10 / 55%) 100%); }
.co-consult .consult h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.3; }
.co-consult .consult .lead { color: rgb(255 255 255 / 75%); }
.co-consult .consult .eyebrow { color: #9fd3ff; }
/* Next steps on a hairline timeline */
.co-consult .consult__next { position: relative; gap: 1.1rem; }
.co-consult .consult__next::before { content: ""; position: absolute; inset-block: 1rem; inset-inline-start: 1rem; width: 1px; background: rgb(255 255 255 / 16%); }
.co-consult .consult__next li { color: rgb(255 255 255 / 68%); }
.co-consult .consult__next-num { position: relative; background: #0b0b0c; border-color: rgb(255 255 255 / 22%); }
.co-consult .consult__next li:first-child .consult__next-num { background: #fff; color: #0b0b0c; border-color: #fff; }
.co-consult .consult__call { border-color: rgb(255 255 255 / 14%); color: rgb(255 255 255 / 65%); }
.co-consult .consult__tel { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 18%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 700; }
.co-consult .consult__tel .icon { color: #9fd3ff; }
/* The form: a glass card */
.co-consult .consult__form { --cf-field: rgb(255 255 255 / 7%); --cf-line: rgb(255 255 255 / 16%);
  padding: clamp(1.1rem, .8rem + 1.5vw, 2rem); border-radius: 26px; background: rgb(22 22 26 / 52%); border: 1px solid rgb(255 255 255 / 14%);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 30px 60px -30px rgb(0 0 0 / 80%); }
.consult__form-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block-end: 1rem; margin-block-end: .1rem; border-block-end: 1px solid rgb(255 255 255 / 10%); }
.consult__form-head strong { font-size: 1.1rem; font-weight: 800; color: #fff; }
.consult__form-head > span { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; color: rgb(255 255 255 / 70%); }
.consult__live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34c759; }
.consult__live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34c759; animation: consult-live 2s ease-out infinite; }
@keyframes consult-live { to { transform: scale(2.6); opacity: 0; } }
.co-consult .consult__form :is(.input, .textarea) { backdrop-filter: blur(6px); }
.co-consult .consult__form :is(.input, .textarea):focus { border-color: #9fd3ff; box-shadow: 0 0 0 4px rgb(159 211 255 / 16%); background: rgb(255 255 255 / 10%); }
.co-consult .consult__chip span { background: rgb(255 255 255 / 5%); }
.co-consult .consult__submit .btn { flex: 1 1 auto; min-height: 56px; border-radius: 999px; background: #fff; color: #0b0b0c; border-color: #fff; font-weight: 800; }
.co-consult .consult__submit .btn:hover { background: #e9e9ec; }
@media (max-width: 900px) {
  .co-consult .consult { grid-template-columns: minmax(0, 1fr); }
  .co-consult .consult::before { background: linear-gradient(to bottom, rgb(8 8 10 / 82%) 0%, rgb(8 8 10 / 90%) 100%); }
}
@media (max-width: 560px) {
  .co-consult .consult { border-radius: 24px; padding: 1.25rem; }
  .co-consult .consult__form { padding: 1rem; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .consult__live::after { animation: none; } }

/* ── Hero touch panel: the control card as the screen of a red tabletop panel on a silver stand ── */
.co-hero3__device { justify-self: end; align-self: end; position: relative; width: min(100%, 360px); padding-block-end: 46px;
  animation: co-hero3-float 7s ease-in-out infinite alternate; filter: drop-shadow(0 40px 40px rgb(0 0 0 / 55%)); }
[dir="rtl"] .co-hero3__device { justify-self: start; }
.co-hero3__device .co-hero3__panel { position: relative; z-index: 1; width: 100%; animation: none; justify-self: auto; align-self: auto;
  padding: 1rem 1.05rem; border-radius: 16px; background: linear-gradient(160deg, #1e2026 0%, #111216 100%); backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 6%); outline: 13px solid #c8172f;
  outline-offset: 0; border-radius: 14px; }
/* red bezel with a highlight on its top edge, and the camera dot */
.co-hero3__device::before { content: ""; position: absolute; inset: -13px -13px 33px; z-index: 0; border-radius: 27px;
  background: linear-gradient(170deg, #e2394c 0%, #c8172f 35%, #9e0f22 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), inset 0 -2px 0 rgb(0 0 0 / 25%); }
.co-hero3__device::after { content: ""; position: absolute; z-index: 2; inset-block-start: -8px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2a0a10; }
.co-hero3__device .co-hero3__panel { outline: 0; }
/* silver wedge stand */
.co-hero3__stand { position: absolute; inset-inline: 30%; inset-block-end: 0; height: 52px; z-index: -1;
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, #8a8d93 0%, #d7d9dd 35%, #f4f5f7 55%, #a9acb2 100%); }
.co-hero3__stand::after { content: ""; position: absolute; inset-inline: -12%; inset-block-end: -6px; height: 10px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / 55%), transparent); }
@media (max-width: 900px) { .co-hero3__device { display: none; } }
@media (prefers-reduced-motion: reduce) { .co-hero3__device { animation: none; } }
/* Consultation background: the Ribbon tower at dusk, softened (a small photo) */
.consult__bg { filter: blur(2px) saturate(110%); transform: scale(1.08); }

/* ── Hero touch panel, v2: the real Astrum panel photo; the control card floats over its lower corner ── */
.co-hero3__device { width: min(100%, 520px); padding: 0 0 4.5rem; filter: none; }
.co-hero3__device::before, .co-hero3__device::after { content: none; }
.co-hero3__touch { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgb(0 0 0 / 65%)) drop-shadow(0 4px 10px rgb(0 0 0 / 40%)); }
.co-hero3__device .co-hero3__panel { position: absolute; inset-block-end: 0; inset-inline-end: -1.5rem; width: 260px; padding: 1rem;
  border-radius: 22px; background: rgb(20 20 24 / 50%); border: 1px solid rgb(255 255 255 / 18%); outline: 0;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 60px -24px rgb(0 0 0 / 85%);
  animation: co-hero3-float 6s ease-in-out infinite alternate-reverse; }
.co-hero3__device { animation-duration: 9s; }

/* ── Hero touch panel, v3: gold Astrum, the control screen drawn inside its glass (sizes in cqw: scales with the panel) ── */
.co-hero3__device { width: min(100%, 560px); padding: 0; }
.co-hero3__screen { position: absolute; top: 15.2%; bottom: 15.1%; left: 14.6%; right: 14.6%; container-type: inline-size; overflow: hidden;
  display: grid; grid-template-rows: auto auto 1fr; gap: 3.2cqw; padding: 4cqw; border-radius: 1.2cqw; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, #2c3a4f 0%, #141821 55%, #0b0d12 100%); }
.co-hero3__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgb(255 255 255 / 9%) 0%, transparent 38%); }
.co-hero3__bar { display: flex; align-items: center; gap: 3cqw; font-size: 3.6cqw; color: rgb(255 255 255 / 72%); }
.co-hero3__bar b { flex: 1; font-size: 4.4cqw; font-weight: 800; color: #fff; }
.co-hero3__wx { display: inline-flex; align-items: center; gap: 1.4cqw; font-weight: 700; color: #fff; }
.co-hero3__wx i { width: 3cqw; height: 3cqw; border-radius: 50%; background: #ffc85c; box-shadow: 0 0 2.4cqw #ffb35c; }
.co-hero3__screen .co-hero3__scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; margin: 0; }
.co-hero3__screen .co-hero3__scenes span { display: grid; justify-items: center; gap: 1.2cqw; padding: 2.6cqw 0 2.2cqw; border-radius: 2.4cqw; font-size: 3.2cqw; font-weight: 700;
  background: rgb(255 255 255 / 8%); color: rgb(255 255 255 / 82%); }
.co-hero3__screen .co-hero3__scenes .icon { width: 5cqw; height: 5cqw; }
.co-hero3__screen .co-hero3__scenes .is-on { background: linear-gradient(160deg, #e9c983, #c9a24a); color: #1a1407; }
.co-hero3__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; align-content: end; }
.co-hero3__tile { display: flex; align-items: center; gap: 2cqw; padding: 2.4cqw 3cqw; border-radius: 2.4cqw; font-size: 3.3cqw; background: rgb(255 255 255 / 7%); }
.co-hero3__tile > span { flex: 1; }
.co-hero3__tile--wide { grid-column: 1 / -1; }
.co-hero3__tile small { font-size: 3cqw; color: rgb(255 255 255 / 70%); }
.co-hero3__screen .co-hero3__meter { flex: 0 0 46%; height: 1.6cqw; }
.co-hero3__screen .co-hero3__meter > i { background: linear-gradient(to left, #f1d79b, #c9a24a); }
.co-hero3__screen .co-hero3__switch { flex: 0 0 9cqw; height: 5.2cqw; border-radius: 5cqw; }
.co-hero3__screen .co-hero3__switch::after { inset-block-start: .7cqw; inset-inline-start: .7cqw; width: 3.8cqw; height: 3.8cqw; }
.co-hero3__screen .co-hero3__switch.is-on { background: #c9a24a; }
.co-hero3__screen .co-hero3__switch.is-on::after { inset-inline-start: 4.5cqw; }
/* The screen's own padding and gap measure the panel (its container), its children measure the screen. */
.co-hero3__device { container-type: inline-size; }
.co-hero3__screen { padding: 2.6cqw 2.8cqw; gap: 1.8cqw; grid-template-rows: auto auto auto; align-content: space-between; }
/* Two slides: each holds half the cycle (the default keyframes are for three). */
.co-hero3[style*="--slides: 2"] .co-hero3__slide { animation-name: co-hero3-fade2; }
.co-hero3[style*="--slides: 2"] .co-hero3__caption { animation-name: co-hero3-cap2; }
@keyframes co-hero3-fade2 { 0% { opacity: 0; transform: scale(1.02); } 8% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes co-hero3-cap2 { 0%, 6% { opacity: 0; pointer-events: none; } 12%, 48% { opacity: 1; pointer-events: auto; } 54%, 100% { opacity: 0; pointer-events: none; } }
.co-hero3[style*="--slides: 1"] .co-hero3__slide, .co-hero3[style*="--slides: 1"] .co-hero3__caption { animation: none; opacity: 1; pointer-events: auto; }

/* ── Touch panel dashboard (inside .co-hero3__screen; cqw = the screen's width) ── */
.co-hero3__screen.ts { display: grid; grid-template-columns: 8.5cqw 1fr; grid-template-rows: none; gap: 0; padding: 0; align-content: stretch; font-size: 2.6cqw;
  background: radial-gradient(110% 90% at 90% 0%, #2a3346 0%, #12151c 55%, #090b0f 100%); }
.ts-rail { display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding-block: 2cqw; background: rgb(255 255 255 / 4%); border-inline-end: 1px solid rgb(255 255 255 / 6%); }
.ts-rail i { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 1.8cqw; color: rgb(255 255 255 / 50%); }
.ts-rail i.is-on { background: linear-gradient(160deg, #e9c983, #c9a24a); color: #1a1407; }
.ts-rail .icon { width: 3.4cqw; height: 3.4cqw; }
.ts-main { display: grid; grid-template-rows: auto 1fr auto; gap: 1.8cqw; padding: 2.2cqw 2.4cqw; min-height: 0; }
.ts-top { display: flex; align-items: center; gap: 2cqw; color: rgb(255 255 255 / 70%); }
.ts-tabs { flex: 1; display: flex; gap: 1cqw; }
.ts-tabs b { padding: .7cqw 2cqw; border-radius: 3cqw; font-weight: 600; font-size: 2.5cqw; color: rgb(255 255 255 / 60%); }
.ts-tabs b.is-on { background: rgb(255 255 255 / 12%); color: #fff; font-weight: 800; }
.ts-clock { font-weight: 800; color: #fff; font-size: 2.8cqw; }
.ts-wx { display: inline-flex; align-items: center; gap: 1cqw; font-weight: 700; color: #fff; }
.ts-wx i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #ffc85c; box-shadow: 0 0 2cqw #ffb35c; }
.ts-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.6cqw; min-height: 0; }
.ts-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: .8cqw; min-width: 0; padding: 1.8cqw 2cqw; overflow: hidden;
  border-radius: 2.4cqw; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 6%); }
.ts-label { display: inline-flex; align-items: center; gap: .9cqw; font-size: 2.3cqw; color: rgb(255 255 255 / 62%); white-space: nowrap; }
.ts-label .icon { width: 2.6cqw; height: 2.6cqw; color: #e2c27a; }
.ts-val { font-size: 2.7cqw; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-sub { font-size: 2.2cqw; color: rgb(255 255 255 / 60%); text-align: center; }
.ts-climate { grid-row: span 2; align-items: center; justify-content: space-around; }
.ts-climate .ts-label { align-self: stretch; }
.ts-dial { position: relative; display: grid; place-items: center; width: 19cqw; aspect-ratio: 1; }
.ts-dial svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ts-dial circle { fill: none; stroke-width: 8; }
.ts-dial__track { stroke: rgb(255 255 255 / 10%); }
.ts-dial__fill { stroke: url(#none); stroke: #6cc4ff; stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 95; filter: drop-shadow(0 0 1.5px #6cc4ff); }
.ts-dial b { font-size: 6cqw; font-weight: 800; color: #fff; line-height: 1; }
.ts-dial small { font-size: 3cqw; vertical-align: top; }
.ts-meter { display: block; height: 1.2cqw; border-radius: 2cqw; background: rgb(255 255 255 / 12%); overflow: hidden; }
.ts-meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(to left, #f1d79b, #c9a24a); }
.ts-cam { padding: 0; justify-content: flex-end; }
.ts-cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.ts-cam::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 70%), transparent 60%); }
.ts-cam .ts-label { position: relative; z-index: 1; padding: 1.4cqw 1.8cqw; color: #fff; }
.ts-live { position: absolute; z-index: 1; inset-block-start: 1.2cqw; inset-inline-end: 1.2cqw; display: inline-flex; align-items: center; gap: .7cqw; padding: .4cqw 1.2cqw; border-radius: 2cqw;
  font-size: 1.9cqw; font-weight: 700; color: #fff; background: rgb(220 38 38 / 85%); }
.ts-live::before { content: ""; width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #fff; animation: consult-live 1.6s ease-out infinite; }
.ts-blinds { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6cqw; height: 3cqw; }
.ts-blinds i { border-radius: .6cqw; background: #c9a24a; }
.ts-blinds i.is-off { background: rgb(255 255 255 / 12%); }
.ts-music { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.4cqw; }
.ts-cover { flex: none; width: 6.4cqw; height: 6.4cqw; border-radius: 1.6cqw; background: conic-gradient(from 200deg, #c9a24a, #7a4a1d, #2a3346, #c9a24a); }
.ts-track { display: grid; flex: 1; min-width: 0; gap: .2cqw; }
.ts-track b { font-size: 2.4cqw; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-ctrl { flex: none; display: grid; place-items: center; width: 5cqw; height: 5cqw; border-radius: 50%; background: #fff; }
.ts-play { width: 0; height: 0; border-block: 1.1cqw solid transparent; border-inline-end: 1.8cqw solid #12151c; margin-inline-end: -.4cqw; }
.ts-eq { position: absolute; inset-inline-start: 2cqw; inset-block-end: 1cqw; display: flex; align-items: flex-end; gap: .4cqw; height: 2cqw; }
.ts-eq i { width: .6cqw; background: #e2c27a; border-radius: .3cqw; animation: ts-eq 1s ease-in-out infinite alternate; }
.ts-eq i:nth-child(2) { animation-delay: .2s; } .ts-eq i:nth-child(3) { animation-delay: .4s; } .ts-eq i:nth-child(4) { animation-delay: .1s; } .ts-eq i:nth-child(5) { animation-delay: .3s; }
@keyframes ts-eq { from { height: 20%; } to { height: 100%; } }
.ts-alarm .ts-val { font-size: 2.3cqw; font-weight: 700; color: #7ee2a0; white-space: normal; line-height: 1.5; }
.ts-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqw; }
.ts-scenes span { display: flex; align-items: center; justify-content: center; gap: 1cqw; padding: 1.3cqw 0; border-radius: 2cqw; font-size: 2.4cqw; font-weight: 700;
  background: rgb(255 255 255 / 7%); color: rgb(255 255 255 / 82%); }
.ts-scenes .icon { width: 2.8cqw; height: 2.8cqw; }
.ts-scenes .is-on { background: linear-gradient(160deg, #e9c983, #c9a24a); color: #1a1407; }
@media (prefers-reduced-motion: reduce) { .ts-eq i, .ts-live::before { animation: none; } }
.ts-val { line-height: 1.5; }
.ts-arm { display: inline-flex; align-items: center; gap: .8cqw; padding: .5cqw 1.6cqw; border-radius: 3cqw; font-size: 2.2cqw; font-weight: 700; color: #7ee2a0; background: rgb(52 199 89 / 14%); }
.ts-arm .icon { width: 2.6cqw; height: 2.6cqw; }

/* ── Dashboard v2: the screen fills the glass; four columns (climate | lights, curtain / music | camera) ── */
.co-hero3__screen.ts { top: 5.2%; bottom: 5.2%; left: 9.4%; right: 9.4%; grid-template-columns: 7cqw 1fr; border-radius: 1cqw; font-size: 2.1cqw; }
.ts-rail i { width: 5cqw; height: 5cqw; border-radius: 1.5cqw; }
.ts-rail .icon { width: 2.8cqw; height: 2.8cqw; }
.ts-main { gap: 1.6cqw; padding: 2cqw 2.2cqw; }
.ts-tabs b { font-size: 2.1cqw; padding: .6cqw 1.8cqw; }
.ts-clock { display: grid; justify-items: end; font-size: 2.4cqw; line-height: 1.25; }
.ts-clock small { font-size: 1.6cqw; font-weight: 500; color: rgb(255 255 255 / 55%); }
.ts-arm { font-size: 1.8cqw; }
.ts-wifi { display: inline-flex; align-items: flex-end; gap: .35cqw; height: 2cqw; }
.ts-wifi i { width: .55cqw; border-radius: .3cqw; background: #fff; }
.ts-wifi i:nth-child(1) { height: 35%; } .ts-wifi i:nth-child(2) { height: 65%; } .ts-wifi i:nth-child(3) { height: 100%; }
.ts-grid { grid-template-columns: 1.15fr 1fr 1fr 1.15fr; grid-template-rows: 1fr 1fr; gap: 1.4cqw; }
.ts-climate { grid-column: 1; grid-row: 1 / span 2; }
.ts-grid > .ts-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.ts-cam { grid-column: 4; grid-row: 1 / span 2; }
.ts-grid > .ts-card:nth-child(4) { grid-column: 3; grid-row: 1; }
.ts-music { grid-column: 2 / span 2; grid-row: 2; padding-block-end: 2.6cqw; }
.ts-card { padding: 1.5cqw 1.7cqw; border-radius: 2cqw; }
.ts-label { font-size: 1.9cqw; }
.ts-label .icon { width: 2.2cqw; height: 2.2cqw; }
.ts-val { font-size: 2.3cqw; }
.ts-dial { width: 15cqw; }
.ts-dial__ticks { fill: none; stroke: rgb(255 255 255 / 18%); stroke-width: 2.5; stroke-dasharray: 1 6.38; }
.ts-dial__fill { stroke-dasharray: 251; stroke-dashoffset: 90; }
.ts-dial b { font-size: 5cqw; }
.ts-adj { display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: .8cqw; }
.ts-adj > i { display: grid; place-items: center; width: 3.8cqw; height: 3.8cqw; border-radius: 50%; font-style: normal; font-size: 2.6cqw; font-weight: 700; color: #fff; background: rgb(255 255 255 / 10%); }
.ts-modes { display: flex; gap: .5cqw; }
.ts-modes b { display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border-radius: 1cqw; font-size: 1.8cqw; color: rgb(255 255 255 / 60%); background: rgb(255 255 255 / 6%); }
.ts-modes b.is-on { color: #0b1a26; background: #6cc4ff; }
.ts-sub { font-size: 1.8cqw; }
.ts-meter { height: 1cqw; position: relative; overflow: visible; }
.ts-meter > i { position: relative; }
.ts-meter > i::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-end: -1cqw; width: 2.4cqw; height: 2.4cqw; margin-block-start: -1.2cqw; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .6cqw rgb(201 162 74 / 35%); }
.ts-blinds { height: 2.4cqw; }
.ts-cam .ts-label { font-size: 2cqw; }
.ts-live { font-size: 1.6cqw; }
.ts-cover { width: 7cqw; height: 7cqw; }
.ts-track b { font-size: 2.2cqw; }
.ts-ctrl { width: 4.4cqw; height: 4.4cqw; }
.ts-eq { inset-inline-start: auto; inset-inline-end: 7.6cqw; inset-block-end: auto; inset-block-start: 1.6cqw; height: 1.8cqw; }
.ts-prog { position: absolute; inset-inline: 1.7cqw; inset-block-end: 1.2cqw; height: .6cqw; border-radius: 1cqw; background: rgb(255 255 255 / 12%); overflow: hidden; }
.ts-prog > i { display: block; width: 38%; height: 100%; background: #e2c27a; }
.ts-scenes { gap: 1.2cqw; }
.ts-scenes span { font-size: 2cqw; padding: 1.1cqw 0; border-radius: 1.6cqw; }
.ts-scenes .icon { width: 2.4cqw; height: 2.4cqw; }

/* ── Footer social buttons: one baseline (a footer rule gave every item but the first a top margin),
   one size, and each network's colour on hover ── */
.site-footer .footer-social { align-items: center; gap: .6rem; }
.site-footer .footer-social li, .site-footer .footer-social li + li { margin: 0; padding: 0; }
.site-footer .footer-social a { width: 46px; height: 46px; border-radius: 14px; color: rgb(255 255 255 / 82%); background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 12%);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.site-footer .footer-social .icon { width: 20px; height: 20px; }
.site-footer .footer-social a:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.site-footer .footer-social a[href*="wa.me"]:hover, .site-footer .footer-social a[href*="whatsapp"]:hover { background: #25d366; }
.site-footer .footer-social a[href*="instagram"]:hover { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.site-footer .footer-social a[href*="t.me"]:hover, .site-footer .footer-social a[href*="telegram"]:hover { background: #229ed9; }
.site-footer .footer-social a[href*="aparat"]:hover { background: #ed145b; }
.site-footer .footer-social a[href*="linkedin"]:hover { background: #0a66c2; }
@media (max-width: 560px) { .site-footer .footer-social a { width: 40px; height: 40px; border-radius: 12px; } .site-footer .footer-social .icon { width: 18px; height: 18px; } }

/* ── Article → solution: in-text links and the recommendation boxes ── */
.article__body a.in-link { color: var(--c-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.article__body a.in-link:hover { text-decoration-thickness: 2px; }
.sol-cta--inline { margin-block: 2rem; padding: 1.1rem 1.3rem; border-radius: 18px; border: 1px solid var(--c-border); border-inline-start: 4px solid var(--c-accent); background: var(--c-bg-subtle); }
.sol-cta__kicker { display: block; margin-block-end: .35rem; font-size: .78rem; font-weight: 800; color: var(--c-accent); }
.sol-cta--inline p { margin: 0; line-height: 2; }
.sol-cta--inline a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; color: var(--c-ink); text-decoration: underline; text-underline-offset: .3em; }
.sol-cta--inline .icon { width: 15px; height: 15px; }
.sol-cta:not(.sol-cta--inline) { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 1.5rem; max-width: 820px; margin-block: 2.5rem 1rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: 28px; color: #f5f5f7; background: linear-gradient(160deg, #17171a, #0b0b0c); overflow: hidden; }
.sol-cta:not(.sol-cta--inline) .sol-cta__kicker { color: #9fd3ff; }
.sol-cta__title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 900; color: #fff; }
.sol-cta__lead { margin: 0 0 .8rem; color: #a1a1a6; line-height: 1.9; }
.sol-cta__features { display: grid; gap: .3rem; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: .9rem; color: #d1d1d6; }
.sol-cta__features .icon { width: 15px; height: 15px; color: #6cb8ea; }
.sol-cta__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.sol-cta__actions .btn:first-child { background: #fff; color: #0b0b0c; border-color: #fff; }
.sol-cta__actions .btn--secondary { color: #fff; background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 20%); }
.sol-cta__media { display: grid; place-items: center; }
.sol-cta__media img { width: 100%; max-height: 220px; object-fit: contain; filter: drop-shadow(0 20px 26px rgb(0 0 0 / 60%)); }
@media (max-width: 640px) { .sol-cta:not(.sol-cta--inline) { grid-template-columns: minmax(0, 1fr); } .sol-cta__media { order: -1; } .sol-cta__media img { max-height: 160px; } }
.sol-cta:not(.sol-cta--inline) { margin-inline: auto; }
.sol-cta__features li { display: flex; align-items: center; gap: .45rem; }
.sol-cta__features .icon { flex: none; }

/* ── Company header: logo | centred nav | search, theme, account, cart (if any), call, consultation ── */
.site-header--company .site-header__bar { gap: 1rem; }
.site-header--company .main-nav { flex: 1 1 auto; justify-content: center; }
.site-header--company .main-nav__list { gap: .25rem; }
.site-header--company .main-nav__link { padding-inline: .85rem; font-size: .95rem; font-weight: 600; }
.site-header--company .header-tools { margin-inline-start: auto; gap: .35rem; }
.site-header--company .header-search-btn { display: inline-grid; }
.site-header--company .header-cart.is-empty { display: none; }
.site-header--company .header-call { flex: none; }
.header-cta { flex: none; display: inline-flex; align-items: center; height: 44px; padding-inline: 1.3rem; border-radius: 999px; font-size: .9rem; font-weight: 800; white-space: nowrap;
  color: #fff; background: var(--c-ink); text-decoration: none; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.header-cta:hover { transform: translateY(-1px); color: #fff; }
[data-theme="dark"] .header-cta { background: #fff; color: #0b0b0c; }

/* Over the home hero: transparent with light text until the page scrolls, then the usual frosted bar. */
.page-company-home #main { margin-block-start: calc(-1 * var(--header-h) - 1px); } /* the header has a 1px bottom border */
.page-company-home .co-hero3 { padding-block-start: var(--header-h); }
.site-header--over:not(.is-scrolled) { background: linear-gradient(to bottom, rgb(0 0 0 / 45%), transparent); border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--over:not(.is-scrolled) :is(.brand-logo, .main-nav__link, .icon-btn) { color: #fff; }
.site-header--over:not(.is-scrolled) .main-nav__link:hover, .site-header--over:not(.is-scrolled) .main-nav__link.is-active { color: #fff; }
.site-header--over:not(.is-scrolled) .icon-btn { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 18%); }
.site-header--over:not(.is-scrolled) .header-cta { background: #fff; color: #0b0b0c; }
.site-header--over:not(.is-scrolled) .nav-pill, .site-header--over:not(.is-scrolled) [class*="nav-glide"] { background: rgb(255 255 255 / 14%); }
@media (max-width: 1100px) { .header-cta { display: none; } }
.site-header--over:not(.is-scrolled) .theme-toggle { color: #fff; background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 18%); }
/* Scrolled over the dark sections: a denser frost, so the bar reads white rather than grey. */
.site-header--company.is-scrolled { background: rgb(255 255 255 / 86%); }
[data-theme="dark"] .site-header--company.is-scrolled { background: rgb(14 14 16 / 86%); }

/* ── The shop link stands out (a pill with a bag icon); over the hero the hover pill and text stay readable ── */
.main-nav__link--store { display: inline-flex; align-items: center; gap: .4rem; margin-inline: .35rem; padding-inline: 1rem !important; border-radius: 999px;
  color: var(--c-accent) !important; background: var(--c-accent-soft); font-weight: 800 !important; }
.main-nav__link--store::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5L6 7Z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5L6 7Z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.main-nav__link--store:hover { background: var(--c-accent); color: #fff !important; }
.site-header--over:not(.is-scrolled) .main-nav__link--store { color: #0b0b0c !important; background: rgb(255 255 255 / 92%); }
.site-header--over:not(.is-scrolled) .main-nav__glide { background: rgb(255 255 255 / 16%) !important; box-shadow: none; }
.site-header--over:not(.is-scrolled) .main-nav__link:not(.main-nav__link--store):hover,
.site-header--over:not(.is-scrolled) .main-nav__link:not(.main-nav__link--store)[open], .site-header--over:not(.is-scrolled) details[open] > .main-nav__link { color: #fff !important; }
.tech-guide { display: inline-flex; align-items: center; gap: .45rem; margin-block-start: .75rem; padding: .5rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 700;
  color: var(--c-accent); background: var(--c-accent-soft); text-decoration: none; }
.tech-guide .icon { width: 16px; height: 16px; }
.tech-guide:hover { background: var(--c-accent); color: #fff; }
/* The shop link: an outlined button (not a filled pill, which read as "you are here"); it fills only on hover. */
.main-nav__link--store { background: transparent; border: 1.5px solid currentColor; height: 38px !important; margin-block: auto; }
.site-header--over:not(.is-scrolled) .main-nav__link--store { color: #fff !important; background: transparent; border-color: rgb(255 255 255 / 55%); }
.site-header--over:not(.is-scrolled) .main-nav__link--store:hover { color: #0b0b0c !important; background: #fff; border-color: #fff; }
.main-nav__link--store:hover { border-color: var(--c-accent); }
/* Inside the shop the same link is the current section: filled. */
.main-nav__link--store.is-active { color: #fff !important; background: var(--c-accent); border-color: var(--c-accent); }

/* ── About page ── */
.ab-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0b0b0c; }
.ab-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ab-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgb(8 8 10 / 90%) 0%, rgb(8 8 10 / 70%) 45%, rgb(8 8 10 / 35%) 100%); }
[dir="ltr"] .ab-hero::before { background: linear-gradient(to right, rgb(8 8 10 / 90%) 0%, rgb(8 8 10 / 70%) 45%, rgb(8 8 10 / 35%) 100%); }
.ab-hero__inner { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.ab-hero .breadcrumb, .ab-hero .breadcrumb a, .ab-hero .breadcrumb [aria-current] { color: rgb(255 255 255 / 70%); }
.ab-hero .co-hero3__eyebrow { margin-block-start: clamp(2rem, 1rem + 3vw, 4rem); }
.ab-hero__title { max-width: 18ch; margin-block: .8rem 1rem; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.8rem); font-weight: 900; line-height: 1.3; letter-spacing: -.02em; color: #fff; }
.ab-hero__lead { max-width: 36rem; color: rgb(255 255 255 / 78%); font-size: 1.1rem; line-height: 2; }
.ab-hero__facts { display: flex; flex-wrap: wrap; gap: 1.5rem clamp(2rem, 1rem + 3vw, 4rem); margin: 2.2rem 0 0; padding-block-start: 1.4rem; border-block-start: 1px solid rgb(255 255 255 / 16%); max-width: 36rem; }
.ab-hero__facts dd { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); font-weight: 900; font-variant-numeric: tabular-nums; }
.ab-hero__facts dt { font-size: .85rem; color: rgb(255 255 255 / 65%); }

.ab-story__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 1rem + 4vw, 5rem); align-items: center; }
.ab-story__text .prose { color: var(--c-muted); line-height: 2.1; }
.ab-story__text .prose h2 { font-size: 1.2rem; margin-block: 1.4rem .5rem; color: var(--c-ink); }
.ab-booth { margin: 0; }
.ab-booth__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; aspect-ratio: 4 / 3; }
.ab-booth__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.ab-booth__grid img:first-child { grid-row: span 2; }
.ab-booth__grid img:nth-child(4) { display: none; }
.ab-booth figcaption { margin-block-start: .7rem; font-size: .85rem; color: var(--c-muted); }

.ab-values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-block-start: 1.75rem; }
.ab-value { display: grid; gap: .6rem; align-content: start; padding: 1.5rem; border-radius: 22px; background: var(--c-bg); border: 1px solid var(--c-border); }
.ab-value__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: var(--c-ink); }
.ab-value__icon .icon { width: 22px; height: 22px; }
.ab-value strong { font-size: 1.05rem; font-weight: 800; }
.ab-value p { margin: 0; font-size: .92rem; line-height: 1.95; color: var(--c-muted); }
@media (max-width: 1024px) { .ab-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ab-story__inner { grid-template-columns: minmax(0, 1fr); } .ab-hero::before { background: linear-gradient(to top, rgb(8 8 10 / 92%), rgb(8 8 10 / 60%)); } }
@media (max-width: 560px) { .ab-values__grid { grid-template-columns: minmax(0, 1fr); } }

/* About: events & news */
.ab-events__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; margin-block-start: 1.75rem; }
.ab-event { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; border: 1px solid var(--c-border); background: var(--c-bg); }
.ab-event__media { display: grid; flex: 1; min-height: 0; }
.ab-event__media img { width: 100%; height: 100%; object-fit: cover; }
.ab-event--gallery .ab-event__media { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 16 / 8; }
.ab-event--gallery .ab-event__media img:first-child { grid-row: span 2; }
.ab-event--gallery .ab-event__media img:nth-child(4) { grid-column: 2 / span 2; }
.ab-event:not(.ab-event--gallery) .ab-event__media { aspect-ratio: 1; }
.ab-event__body { display: grid; gap: .35rem; padding: 1.1rem 1.3rem 1.3rem; }
.ab-event__body strong { font-size: 1.05rem; font-weight: 800; }
.ab-event__body p { margin: 0; font-size: .9rem; line-height: 1.95; color: var(--c-muted); }
@media (max-width: 860px) { .ab-events__grid { grid-template-columns: minmax(0, 1fr); } .ab-event:not(.ab-event--gallery) .ab-event__media { aspect-ratio: 16 / 9; } }
.ab-event__media { overflow: hidden; }
.ab-event--gallery .ab-event__media { flex: none; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 16 / 9; }
.ab-event--gallery .ab-event__media img { min-height: 0; }
.ab-events__grid { align-items: start; }
.ab-event:not(.ab-event--gallery) .ab-event__media { flex: none; aspect-ratio: 16 / 11; }
/* One event: the gallery takes the full width. */
.ab-events__grid:has(> .ab-event:only-child) { grid-template-columns: minmax(0, 1fr); }
.ab-events__grid > .ab-event--gallery:only-child .ab-event__media { aspect-ratio: 21 / 9; }
