/* Araft design v3 (2026-11-11): full-bleed photography, large editorial type, quiet colour.
   Loaded after styles.css on redesigned pages, which carry <body class="x">. Product pages (Lifelines, MyTime) never load it. */

body.x {
  --x-bg: #ffffff;
  --x-bg-2: #f5f4f1;
  --x-ink: #0c0c0d;
  --x-ink-2: #2b2b2e;
  --x-muted: #5e5e64;
  --x-line: rgba(12, 12, 13, .1);
  --x-accent: #00858e;
  --x-accent-2: #5fd0c6;
  --x-dark: #0b0c0e;
  --x-radius: 22px;
  --x-max: 1320px;
  --x-gut: clamp(20px, 4vw, 48px);
  background: var(--x-bg);
  color: var(--x-ink);
}
:root[data-theme="dark"] body.x {
  --x-bg: #0b0c0e;
  --x-bg-2: #131417;
  --x-ink: #f3f3f4;
  --x-ink-2: #d6d6da;
  --x-muted: #a0a0a8;
  --x-line: rgba(255, 255, 255, .12);
  --x-accent: #3fbdb3;
}
body.x .xw { width: 100%; max-width: var(--x-max); margin: 0 auto; padding: 0 var(--x-gut); }
body.x h1, body.x h2, body.x h3 { color: inherit; }
body.x img { display: block; max-width: 100%; }
.x-kick { display: inline-block; font: 600 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--x-accent); }
.x-h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; margin: 18px 0 0; }
.x-h2 em { font-style: italic; color: var(--x-accent); }
.x-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--x-muted); max-width: 58ch; margin-top: 22px; }
.x-sec { padding: clamp(80px, 11vw, 160px) 0; }
.x-sec--tint { background: var(--x-bg-2); }
.x-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.x-head .x-lead { margin: 0; justify-self: end; }

/* Buttons */
.x-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; font: 600 .95rem/1 var(--font); text-decoration: none; border: 1px solid transparent; transition: transform .3s var(--ease, ease), background .25s, color .25s, border-color .25s; white-space: nowrap; cursor: pointer; }
.x-btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease, ease); }
.x-btn:hover { transform: translateY(-2px); }
.x-btn:hover svg { transform: translateX(4px); }
.x-btn--light { background: #fff; color: #0c0c0d; }
.x-btn--light:hover { background: var(--x-accent-2); }
.x-btn--line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.x-btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.x-btn--ink { background: var(--x-ink); color: var(--x-bg); }
.x-btn--ink:hover { background: var(--x-accent); color: #fff; }
.x-btn--ghost { border-color: var(--x-line); color: var(--x-ink); }
.x-btn--ghost:hover { border-color: var(--x-ink); }
.x-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--x-ink); text-decoration: none; border-bottom: 1px solid var(--x-line); padding-bottom: 4px; transition: border-color .25s, gap .25s; }
.x-link:hover { border-color: var(--x-ink); gap: 12px; }
.x-link svg { width: 16px; height: 16px; }

/* Header: clear over the hero photo, solid once you scroll */
body.x .site-header { background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .35s, border-color .35s, backdrop-filter .35s; }
body.x.x-over .site-header { position: fixed; left: 0; right: 0; }
body.x .site-header .container { max-width: var(--x-max); padding: 0 var(--x-gut); }
body.x .brand__logo { display: none !important; }
body.x .brand { display: flex; align-items: center; }
body.x .brand::before { content: ""; width: 52px; height: 42px; background: url(/assets/araft-logo-on-light.png?v=1) left center / contain no-repeat; } /* same size as the old logo (42px tall) */
:root[data-theme="dark"] body.x .brand::before { background-image: url(/assets/araft-logo-on-dark.png?v=1); }
/* Scrolled: the bar floats as a soft rounded panel instead of a full-width strip */
body.x .site-header .nav { transition: height .4s var(--ease, ease), padding .4s var(--ease, ease), background .4s, box-shadow .4s, border-color .4s, margin .4s var(--ease, ease); border: 1px solid transparent; border-radius: 999px; }
body.x .site-header.scrolled { background: transparent; border-bottom-color: transparent; }
body.x .site-header.scrolled:not(.open) .nav { height: 62px; margin-top: 12px; padding: 0 8px 0 20px; background: color-mix(in srgb, var(--x-bg) 80%, transparent); backdrop-filter: saturate(1.8) blur(22px); -webkit-backdrop-filter: saturate(1.8) blur(22px); border-color: var(--x-line); box-shadow: 0 12px 40px rgba(12, 12, 13, .08), 0 1px 2px rgba(12, 12, 13, .04); }
:root[data-theme="dark"] body.x .site-header.scrolled:not(.open) .nav { box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
body.x .site-header.scrolled .nav__go { padding: 5px 5px 5px 18px; }
body.x .site-header.scrolled .theme-toggle { width: 36px; height: 36px; }
body.x .nav__links a, body.x .nav__login { color: var(--x-ink-2); }
body.x .nav__links a:hover, body.x .nav__links a.active, body.x .nav__login { color: var(--x-ink); }
body.x .nav__go { background: var(--x-ink); color: var(--x-bg); }
body.x .theme-toggle { background: transparent; border-color: var(--x-line); color: var(--x-ink); }
body.x .nav__toggle { color: var(--x-ink); }
/* on the dark hero, before scrolling */
body.x.x-over .site-header:not(.scrolled):not(.open) .brand::before { background-image: url(/assets/araft-logo-on-dark.png?v=1); }
body.x.x-over .site-header:not(.scrolled):not(.open) .nav__links > a,
body.x.x-over .site-header:not(.scrolled):not(.open) .nav__dd-btn,
body.x.x-over .site-header:not(.scrolled):not(.open) .nav__login,
body.x.x-over .site-header:not(.scrolled):not(.open) .theme-toggle,
body.x.x-over .site-header:not(.scrolled):not(.open) .nav__toggle { color: rgba(255, 255, 255, .86); }
body.x.x-over .site-header:not(.scrolled):not(.open) .nav__links > a:hover,
body.x.x-over .site-header:not(.scrolled):not(.open) .nav__links > a.active { color: #fff; }
body.x.x-over .site-header:not(.scrolled):not(.open) .theme-toggle { border-color: rgba(255, 255, 255, .28); }
body.x.x-over .site-header:not(.scrolled):not(.open) .nav__go { background: #fff; color: #0c0c0d; }
body.x .site-header.open { background: var(--x-bg); }

/* Hero */
.xh { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #050608; overflow: hidden; isolation: isolate; }
.xh__img { position: absolute; inset: 0; z-index: -2; }
.xh__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: xzoom 14s var(--ease, ease) forwards; }
.xh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 6, 8, .55) 0%, rgba(5, 6, 8, .15) 35%, rgba(5, 6, 8, .55) 70%, rgba(5, 6, 8, .92) 100%); }
@keyframes xzoom { to { transform: scale(1); } }
body.x .xh__in { padding-top: 160px; padding-bottom: clamp(36px, 5vw, 64px); }
.xh .x-kick { color: var(--x-accent-2); }
.xh h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3.2rem, 9vw, 8.4rem); line-height: .96; letter-spacing: -.03em; margin: 24px 0 0; max-width: 12ch; color: #fff; }
.xh h1 em { font-style: italic; color: var(--x-accent-2); }
.xh__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(28px, 4vw, 44px); }
.xh__row p { max-width: 50ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .78); }
.xh__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.xh__steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); margin-top: clamp(40px, 6vw, 72px); }
.xh__steps a { padding: 20px 4px 4px; color: rgba(255, 255, 255, .7); text-decoration: none; font-size: .95rem; display: flex; gap: 10px; align-items: baseline; transition: color .25s; position: relative; }
.xh__steps a::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: #fff; transition: width .5s var(--ease, ease); }
.xh__steps a:hover { color: #fff; }
.xh__steps a:hover::before { width: 100%; }
.xh__steps b { font: 500 .78rem var(--font); color: rgba(255, 255, 255, .45); letter-spacing: .08em; }

/* Statement */
.x-state { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; }
.x-state em { font-style: italic; color: var(--x-accent); }
.x-state-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.x-state-row > div:last-child p { color: var(--x-muted); font-size: 1.08rem; line-height: 1.7; }
.x-state-row > div:last-child p + p { margin-top: 16px; }

/* Capabilities: photo tiles */
.x-caps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.x-cap { position: relative; grid-column: span 2; min-height: 460px; border-radius: var(--x-radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 3vw, 34px); }
.x-cap--wide { grid-column: span 4; }
.x-cap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease, ease); }
.x-cap::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .86) 100%); }
.x-cap:hover img { transform: scale(1.05); }
.x-cap__no { position: absolute; top: clamp(20px, 2.6vw, 30px); left: clamp(22px, 3vw, 34px); font: 500 .8rem var(--font); letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
.x-cap h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.02em; line-height: 1.05; color: #fff; }
.x-cap p { margin-top: 10px; color: rgba(255, 255, 255, .82); line-height: 1.55; max-width: 42ch; }
.x-cap__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.x-cap__more svg { width: 16px; height: 16px; transition: transform .3s; }
.x-cap:hover .x-cap__more svg { transform: translateX(4px); }

/* Industries */
.x-inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-ind { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; display: flex; align-items: flex-end; padding: 20px; }
.x-ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease, ease); }
.x-ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .7)); }
.x-ind:hover img { transform: scale(1.06); }
.x-ind span { font-family: var(--display); font-size: 1.45rem; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; width: 100%; }
.x-ind svg { width: 20px; height: 20px; opacity: 0; transform: translateX(-6px); transition: .3s; }
.x-ind:hover svg { opacity: 1; transform: none; }
.x-after { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; color: var(--x-muted); }

/* Split: image + text */
.x-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.x-split__img { border-radius: var(--x-radius); overflow: hidden; aspect-ratio: 4 / 5; }
.x-split__img img { width: 100%; height: 100%; object-fit: cover; }
.x-modes { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--x-line); }
.x-mode { padding: 26px 0; border-bottom: 1px solid var(--x-line); display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; }
.x-mode b { font: 500 .8rem var(--font); letter-spacing: .12em; color: var(--x-accent); padding-top: 6px; }
.x-mode h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: -.015em; }
.x-mode p { color: var(--x-muted); margin-top: 8px; line-height: 1.6; }

/* Project feature */
.x-proj { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: var(--x-dark); color: #fff; }
.x-proj__art { position: relative; min-height: 460px; background: radial-gradient(90% 80% at 50% 45%, #2b2160 0%, #0b0c0e 75%); display: grid; place-items: center; overflow: hidden; }
.x-proj__art img { width: min(42%, 220px); border-radius: 26%; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); transition: transform .8s var(--ease, ease); }
.x-proj:hover .x-proj__art img { transform: translateY(-6px) rotate(-2deg); }
.x-proj__txt { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.x-proj__txt .x-kick { color: var(--x-accent-2); }
.x-proj__txt h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.025em; line-height: 1.04; margin-top: 16px; color: #fff; }
.x-proj__txt p { color: rgba(255, 255, 255, .72); margin-top: 16px; line-height: 1.65; max-width: 46ch; }
.x-proj__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Full-bleed band */
.x-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; padding: clamp(120px, 16vw, 220px) 0; }
.x-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.x-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 6, 8, .88) 0%, rgba(5, 6, 8, .55) 55%, rgba(5, 6, 8, .25) 100%); }
.x-band .x-kick { color: var(--x-accent-2); }
.x-band .x-h2 { color: #fff; max-width: 14ch; }
.x-band .x-h2 em { color: var(--x-accent-2); }
.x-band .x-lead { color: rgba(255, 255, 255, .78); }
.x-band .xh__acts { margin-top: 34px; }

/* Process */
.x-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--x-line); }
.x-step { padding: 30px 28px 10px 0; position: relative; }
.x-step + .x-step { padding-left: 28px; border-left: 1px solid var(--x-line); }
.x-step b { font: 500 .8rem var(--font); letter-spacing: .14em; color: var(--x-accent); }
.x-step h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin-top: 18px; letter-spacing: -.015em; }
.x-step p { color: var(--x-muted); margin-top: 10px; line-height: 1.6; }

/* FAQ */
.x-faq { border-top: 1px solid var(--x-line); }
.x-faq details { border-bottom: 1px solid var(--x-line); }
.x-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.01em; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; font-family: var(--font); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--x-muted); transition: transform .3s; }
.x-faq details[open] summary::after { transform: rotate(45deg); }
.x-faq details p { color: var(--x-muted); line-height: 1.7; max-width: 72ch; padding: 0 0 28px; }
.x-faq a { color: var(--x-accent); text-decoration: underline; }
.x-faqw { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); }

/* Final call to action */
.x-final { position: relative; color: #fff; isolation: isolate; overflow: hidden; border-radius: 28px; padding: clamp(60px, 10vw, 140px) clamp(28px, 6vw, 90px); }
.x-final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.x-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(5, 6, 8, .9), rgba(5, 6, 8, .45)); }
.x-final h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 5.4rem); letter-spacing: -.035em; line-height: 1; max-width: 13ch; color: #fff; }
.x-final h2 em { font-style: italic; color: var(--x-accent-2); }
.x-final p { color: rgba(255, 255, 255, .78); margin-top: 20px; max-width: 48ch; line-height: 1.6; }
.x-final .xh__acts { margin-top: 34px; }

/* Footer */
body.x .site-footer.ft { background: var(--x-dark); color: rgba(255, 255, 255, .72); border-top: 0; padding-top: clamp(70px, 9vw, 120px); }
body.x .site-footer .container { max-width: var(--x-max); padding: 0 var(--x-gut); }
body.x .ft__cta { display: none; }
body.x .site-footer h4 { color: #fff; }
body.x .site-footer a { color: rgba(255, 255, 255, .72); }
body.x .site-footer a:hover { color: #fff; }
body.x .footer__logo { display: none !important; }
body.x .footer__brand { width: 120px; height: 96px; background: url(/assets/araft-logo-on-dark.png?v=1) left center / contain no-repeat; }
body.x .ft__brand p, body.x .ft__muted, body.x .footer__bottom { color: rgba(255, 255, 255, .55); }
body.x .footer__bottom { border-top-color: rgba(255, 255, 255, .12); }
body.x .footer__social a { border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .8); }
.x-word { font-family: var(--display); font-weight: 400; font-size: clamp(5rem, 21vw, 19rem); line-height: .8; letter-spacing: -.06em; color: rgba(255, 255, 255, .06); margin-top: 40px; user-select: none; white-space: nowrap; overflow: hidden; }

/* Reveal: a calmer rise */
body.x .reveal { transform: translateY(28px); transition: opacity 1s var(--ease, ease), transform 1s var(--ease, ease); }
body.x .reveal.in { transform: none; }

@media (max-width: 1080px) {
  .x-caps { grid-template-columns: repeat(2, 1fr); }
  .x-cap, .x-cap--wide { grid-column: span 1; min-height: 400px; }
  .x-cap--wide:first-child { grid-column: span 2; }
  .x-inds { grid-template-columns: repeat(2, 1fr); }
  .x-steps { grid-template-columns: repeat(2, 1fr); }
  .x-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .x-step:nth-child(n + 3) { border-top: 1px solid var(--x-line); }
}
@media (max-width: 860px) {
  .x-head, .x-state-row, .x-split, .x-proj, .x-faqw { grid-template-columns: 1fr; }
  .x-head .x-lead { justify-self: start; }
  .x-split__img { aspect-ratio: 16 / 11; }
  .x-proj__art { min-height: 300px; }
  .xh__steps { grid-template-columns: repeat(3, 1fr); }
  .xh__steps a:nth-child(n + 4) { display: none; }
}
@media (max-width: 600px) {
  .x-caps { grid-template-columns: 1fr; }
  .x-cap, .x-cap--wide, .x-cap--wide:first-child { grid-column: span 1; min-height: 360px; }
  .x-inds { gap: 10px; }
  .x-ind { padding: 14px; border-radius: 14px; }
  .x-ind span { font-size: 1.1rem; }
  .x-steps { grid-template-columns: 1fr; }
  .x-step, .x-step + .x-step { padding-left: 0; border-left: 0; }
  .x-step + .x-step { border-top: 1px solid var(--x-line); }
  .xh h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .xh__acts { width: 100%; }
  .xh__acts .x-btn { flex: 1; justify-content: center; }
  .x-band::after { background: linear-gradient(180deg, rgba(5, 6, 8, .6), rgba(5, 6, 8, .85)); }
}
@media (prefers-reduced-motion: reduce) { .xh__img img { animation: none; transform: none; } body.x .reveal { transform: none; } }
body.x .site-footer .footer__social a { color: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .18); background: transparent; }
body.x .site-footer .footer__social a:hover { color: #0c0c0d; background: #fff; border-color: #fff; }
body.x .site-footer .footer__social svg { fill: currentColor; }

/* Facts band: plain, true numbers */
.x-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.x-fact { padding: 8px 32px 8px 0; }
.x-fact + .x-fact { padding-left: 32px; border-left: 1px solid var(--x-line); }
.x-fact b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.04em; color: var(--x-ink); }
.x-fact b sup { font-size: .42em; vertical-align: top; position: relative; top: .25em; margin-left: 4px; color: var(--x-accent); }
.x-fact span { display: block; margin-top: 14px; color: var(--x-muted); line-height: 1.5; max-width: 22ch; }

/* Platforms we build and grow on: quiet, monochrome until hovered */
.x-plat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding-top: 44px; margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--x-line); }
.x-plat p { color: var(--x-muted); font-size: .95rem; max-width: 24ch; }
.x-plat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; }
.x-plat img { height: 26px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.x-plat li:hover img { filter: none; opacity: 1; }
.x-plat .dk { display: none; }
:root[data-theme="dark"] body.x .x-plat .lt { display: none; }
:root[data-theme="dark"] body.x .x-plat .dk { display: block; }

/* Capability tags */
.x-cap__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.x-cap__tags i { font-style: normal; font-size: .78rem; font-weight: 500; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Scroll cue on the hero */
.xh__cue { position: absolute; right: var(--x-gut); top: 50%; writing-mode: vertical-rl; font: 600 .7rem var(--font); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .55); display: flex; align-items: center; gap: 14px; }
.xh__cue i { width: 1px; height: 60px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: xcue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes xcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Hero words rise one after another */
.xh .x-kick, .xh h1, .xh__row, .xh__steps { animation: xrise 1.1s var(--ease, ease) both; }
.xh h1 { animation-delay: .12s; }
.xh__row { animation-delay: .3s; }
.xh__steps { animation-delay: .45s; }
@keyframes xrise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) { .x-facts { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .x-fact:nth-child(3) { padding-left: 0; border-left: 0; } .xh__cue { display: none; } }
@media (max-width: 860px) {
  .xh__steps { grid-template-columns: none; display: flex; overflow-x: auto; scrollbar-width: none; gap: 26px; }
  .xh__steps::-webkit-scrollbar { display: none; }
  .xh__steps a, .xh__steps a:nth-child(n + 4) { display: flex; flex: none; }
}
@media (max-width: 600px) { .x-facts { grid-template-columns: 1fr 1fr; } .x-fact { padding-right: 12px; } .x-fact + .x-fact { padding-left: 16px; } .x-fact:nth-child(3) { padding-left: 0; } .x-plat img { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .xh .x-kick, .xh h1, .xh__row, .xh__steps { animation: none; } .xh__cue i { animation: none; } }

/* Inner page hero: shorter than the home page */
.xh--page { min-height: 82svh; }
.xh--page h1 { font-size: clamp(3rem, 7.6vw, 7rem); max-width: 14ch; }

/* One stage per row: photo and words side by side, alternating */
.x-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; scroll-margin-top: 90px; }
.x-stage + .x-stage { margin-top: clamp(80px, 10vw, 140px); }
.x-stage:nth-child(even) .x-stage__img { order: 2; }
.x-stage__img { position: relative; border-radius: var(--x-radius); overflow: hidden; aspect-ratio: 5 / 4; }
.x-stage__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease, ease); }
.x-stage:hover .x-stage__img img { transform: scale(1.04); }
.x-stage__no { font-family: var(--display); font-style: italic; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--x-accent); opacity: .35; }
.x-stage h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.03em; line-height: 1.02; margin-top: 10px; }
.x-stage h2 em { font-style: italic; color: var(--x-accent); }
.x-stage > div > p { color: var(--x-muted); font-size: 1.08rem; line-height: 1.7; margin-top: 18px; max-width: 50ch; }
.x-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--x-line); }
.x-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--x-line); }
.x-list b { font-weight: 600; color: var(--x-ink); }
.x-list span { color: var(--x-muted); text-align: right; font-size: .95rem; }

/* Marketing services: big rows */
.x-rows { border-top: 1px solid var(--x-line); }
.x-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--x-line); color: var(--x-ink); text-decoration: none; transition: padding .35s var(--ease, ease); }
.x-row b { font: 500 .8rem var(--font); letter-spacing: .14em; color: var(--x-accent); }
.x-row h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.02em; }
.x-row p { color: var(--x-muted); line-height: 1.6; }
.x-row svg { width: 22px; height: 22px; transition: transform .35s var(--ease, ease); }
.x-row:hover { padding-left: 14px; }
.x-row:hover svg { transform: translateX(6px); }

/* Client work cards */
.x-work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.x-workc { position: relative; border-radius: 24px; overflow: hidden; background: var(--x-dark); color: #fff; text-decoration: none; display: grid; grid-template-rows: auto 1fr; isolation: isolate; }
.x-workc__art { aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(90% 80% at 50% 45%, var(--c, #2b2160) 0%, #0b0c0e 75%); }
.x-workc__art img { width: 26%; border-radius: 24%; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); transition: transform .8s var(--ease, ease); }
.x-workc:hover .x-workc__art img { transform: translateY(-6px) scale(1.03); }
.x-workc__txt { padding: 28px 30px 32px; }
.x-workc__txt .x-kick { color: var(--x-accent-2); }
.x-workc__txt h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: -.02em; margin-top: 10px; color: #fff; }
.x-workc__txt p { color: rgba(255, 255, 255, .7); margin-top: 10px; line-height: 1.6; }

@media (max-width: 860px) {
  .x-stage { grid-template-columns: 1fr; }
  .x-stage:nth-child(even) .x-stage__img { order: 0; }
  .x-stage__img { aspect-ratio: 16 / 11; }
  .x-row { grid-template-columns: 48px minmax(0, 1fr) 28px; }
  .x-row p { grid-column: 2 / 3; }
  .x-row svg { grid-row: 1; grid-column: 3; }
  .x-work { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .x-list li { flex-direction: column; gap: 4px; } .x-list span { text-align: left; } }

/* Websites directory: every kind of business, grouped */
.x-dir { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; margin-top: clamp(56px, 7vw, 88px); padding-top: 44px; border-top: 1px solid var(--x-line); }
.x-dir h3 { font: 600 .78rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--x-muted); margin-bottom: 14px; }
.x-dir ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-dir a { color: var(--x-ink); text-decoration: none; font-family: var(--display); font-size: 1.15rem; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, gap .25s; }
.x-dir a svg { width: 15px; height: 15px; opacity: 0; transition: opacity .2s; }
.x-dir a:hover { color: var(--x-accent); gap: 12px; }
.x-dir a:hover svg { opacity: 1; }
.x-brief { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-bottom: clamp(36px, 5vw, 56px); }
.x-brief p { color: var(--x-muted); max-width: 46ch; }
@media (max-width: 1080px) { .x-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .x-dir { grid-template-columns: 1fr; } }
/* The website brief (from the Shop) inside v3 pages */
body.x .bf__card { border-radius: 24px; }
body.x .x-btn[data-brief] { font-family: var(--font); }
.x-cap--full { grid-column: 1 / -1; min-height: 420px; }
.x-cap--full p { max-width: 60ch; }
@media (max-width: 1080px) { .x-cap--full { grid-column: 1 / -1; } }

/* Featured project */
.x-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: var(--x-dark); color: #fff; }
.x-feat__art { position: relative; min-height: 560px; display: grid; place-items: center; align-content: center; gap: 26px; background: radial-gradient(90% 80% at 50% 45%, #2b2160 0%, #0b0c0e 78%); overflow: hidden; }
.x-feat__art img { width: min(46%, 240px); border-radius: 26%; box-shadow: 0 40px 100px rgba(0, 0, 0, .55); transition: transform .9s var(--ease, ease); }
.x-feat:hover .x-feat__art img { transform: translateY(-8px) rotate(-2deg); }
.x-feat__art span { font-family: var(--display); font-size: 2rem; letter-spacing: -.02em; color: rgba(255, 255, 255, .9); }
.x-feat__txt { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.x-feat__txt .x-kick { color: var(--x-accent-2); }
.x-feat__txt h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -.025em; line-height: 1.04; margin-top: 14px; color: #fff; }
.x-feat__txt > p { color: rgba(255, 255, 255, .72); margin-top: 16px; line-height: 1.7; }
.x-feat__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.x-feat__tags i { font-style: normal; font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); }
.x-feat__did { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.x-feat__did b { font: 600 .74rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.x-feat__did ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.x-feat__did li { color: rgba(255, 255, 255, .88); }
.x-work--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x-workc--next { background: transparent; border: 1px dashed var(--x-line); color: var(--x-ink); }
.x-workc--next .x-workc__art { background: transparent; }
.x-workc--next .x-workc__txt h3 { color: var(--x-ink); }
.x-workc--next .x-workc__txt p { color: var(--x-muted); }
.x-workc--next .x-kick { color: var(--x-accent) !important; }
.x-plus { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--x-line); display: grid; place-items: center; font: 300 2.4rem/1 var(--font); color: var(--x-accent); transition: transform .4s var(--ease, ease); }
.x-workc--next:hover .x-plus { transform: rotate(90deg); }
@media (max-width: 1080px) { .x-work--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .x-feat { grid-template-columns: 1fr; } .x-feat__art { min-height: 340px; } .x-work--3 { grid-template-columns: 1fr; } }

/* Principles */
.x-vals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--x-line); }
.x-val { padding: 32px 28px 8px 0; }
.x-val + .x-val { padding-left: 28px; border-left: 1px solid var(--x-line); }
.x-val b { font: 500 .8rem var(--font); letter-spacing: .14em; color: var(--x-accent); }
.x-val h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -.015em; margin-top: 22px; }
.x-val p { color: var(--x-muted); margin-top: 12px; line-height: 1.65; }

/* The six steps as large links */
/* The six stages on /about. Photo cards, one line of what actually happens, linked to that stage on /services.
   The stage photos are all 3:2, and the frame is 3:2, so object-fit never crops them. */
.x-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.x-phase { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--x-bg); border: 1px solid var(--x-line); color: var(--x-ink); text-decoration: none; transition: border-color .3s, transform .35s var(--ease, ease), box-shadow .35s; }
.x-phase:hover { border-color: var(--x-ink); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12, 12, 13, .1); }
.x-phase__img { display: block; flex: none; width: 100%; overflow: hidden; background: var(--x-bg-2); }
.x-phase__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--ease, ease); }
.x-phase:hover .x-phase__img img { transform: scale(1.04); }
.x-phase__b { display: flex; flex-direction: column; gap: 9px; padding: 24px 26px 26px; flex: 1; }
.x-phase__n { font: 500 .76rem var(--font); letter-spacing: .16em; color: var(--x-accent); }
.x-phase__h { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; }
.x-phase__p { color: var(--x-muted); font-size: .97rem; line-height: 1.55; }
.x-phase__go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font: 600 .85rem var(--font); color: var(--x-accent); }
.x-phase__go svg { width: 16px; height: 16px; transition: transform .3s; }
.x-phase:hover .x-phase__go svg { transform: translateX(5px); }
@media (max-width: 1080px) { .x-phases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .x-phases { grid-template-columns: 1fr; } }
@media (max-width: 1080px) { .x-vals { grid-template-columns: 1fr 1fr; } .x-val:nth-child(3) { padding-left: 0; border-left: 0; } .x-val:nth-child(n + 3) { border-top: 1px solid var(--x-line); } }
@media (max-width: 600px) { .x-vals { grid-template-columns: 1fr; } .x-val, .x-val + .x-val { padding-left: 0; border-left: 0; } .x-val + .x-val { border-top: 1px solid var(--x-line); } }

/* Contact */
.xh--short { min-height: 64svh; }
.xh--short h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); max-width: 14ch; }
.x-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.x-contact__info { position: sticky; top: 110px; }
.x-info { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--x-line); }
.x-info li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--x-line); align-items: start; }
.x-info svg { width: 22px; height: 22px; color: var(--x-accent); margin-top: 2px; }
.x-info b { display: block; font: 600 .74rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--x-muted); margin-bottom: 4px; }
.x-info a, .x-info span { color: var(--x-ink); text-decoration: none; line-height: 1.5; word-break: break-word; }
.x-info a:hover { color: var(--x-accent); }
.x-also { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; }
body.x .x-form { background: var(--x-bg); border: 1px solid var(--x-line); border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 80px rgba(12, 12, 13, .07); }
body.x .x-form .field label { color: var(--x-ink); font-weight: 600; }
body.x .x-form .field input, body.x .x-form .field select, body.x .x-form .field textarea { border-radius: 14px; padding: 15px 16px; }
body.x .x-form .field textarea { min-height: 150px; }
.x-form__send { width: 100%; justify-content: center; margin-top: 6px; padding: 18px 26px; }
@media (max-width: 860px) { .x-contact { grid-template-columns: 1fr; } .x-contact__info { position: static; } }
body.x .x-form .form__success { background: color-mix(in srgb, var(--x-accent) 10%, transparent); border-color: color-mix(in srgb, var(--x-accent) 35%, transparent); color: var(--x-ink); font-weight: 500; }
@media (max-width: 860px) { body.x .x-form .form-row { gap: 0; } }

/* Insights: featured post + grid */
.x-post { display: grid; grid-template-rows: auto 1fr; gap: 0; color: var(--x-ink); text-decoration: none; border-radius: 22px; overflow: hidden; background: var(--x-bg); border: 1px solid var(--x-line); transition: transform .35s var(--ease, ease), box-shadow .35s; }
.x-post:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(12, 12, 13, .08); }
.x-post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--x-bg-2); display: grid; place-items: center; }
.x-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease, ease); }
.x-post:hover .x-post__img img { transform: scale(1.04); }
.x-post__ph { font-family: var(--display); font-style: italic; font-size: 5rem; color: var(--x-accent); opacity: .5; }
.x-post__txt { padding: 26px 28px 30px; display: flex; flex-direction: column; }
.x-post__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--x-muted); }
.x-post__meta b { color: var(--x-accent); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; }
.x-post h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.015em; margin-top: 14px; }
.x-post__txt > p { color: var(--x-muted); margin-top: 12px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.x-post__by { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 600; font-size: .9rem; }
.x-post__by img, .x-post__by i { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.x-post__by i { display: grid; place-items: center; font-style: normal; background: var(--x-accent); color: #fff; font-size: .85rem; }
.x-post__by small { display: block; font-weight: 400; color: var(--x-muted); font-size: .8rem; }
.x-post__more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.x-post__more svg { width: 16px; height: 16px; transition: transform .3s; }
.x-post:hover .x-post__more svg { transform: translateX(4px); }
.x-post--big { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: none; }
.x-post--big .x-post__img { aspect-ratio: auto; min-height: 440px; }
.x-post--big .x-post__txt { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.x-post--big h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; }
.x-post--big .x-post__more { margin-top: 26px; padding-top: 0; }
.x-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.x-empty { text-align: center; padding: 60px 0; }
.x-empty h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; }
.x-empty p { color: var(--x-muted); margin-top: 10px; }
.x-news__form { display: flex; gap: 10px; margin-top: 30px; max-width: 520px; }
.x-news__form input { flex: 1; min-width: 0; padding: 16px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; font: 500 1rem var(--font); outline: none; }
.x-news__form input::placeholder { color: rgba(255, 255, 255, .6); }
.x-news__form input:focus { border-color: #fff; background: rgba(255, 255, 255, .16); }
.x-news__msg { margin-top: 14px; color: var(--x-accent-2); font-weight: 500; }
.x-news__msg.is-bad { color: #ffb4a0; }
/* the article page (blog-post-template.html): plain header on a light page */
body.x.x-post-page .site-header { position: sticky; }
@media (max-width: 1080px) { .x-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .x-post--big { grid-template-columns: 1fr; } .x-post--big .x-post__img { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .x-posts { grid-template-columns: 1fr; } .x-news__form { flex-direction: column; } }
.x-post--big { align-items: center; background: var(--x-bg-2); }
.x-post--big .x-post__img { min-height: 0; aspect-ratio: 16 / 9; align-self: stretch; height: 100%; }
.x-post--big .x-post__img img { object-fit: cover; object-position: center; }
@media (min-width: 861px) { .x-post--big .x-post__img { height: auto; align-self: center; } }

/* Hero labels and text stay readable on light photos too */
.xh .x-kick { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.xh::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 6, 8, .62) 0%, rgba(5, 6, 8, .32) 55%, rgba(5, 6, 8, 0) 85%); pointer-events: none; }
button.x-btn { font-family: var(--font); } button.x-btn--line { background: transparent; } button.x-btn--line:hover { background: rgba(255, 255, 255, .08); }
body.x .site-footer .footer__social svg { color: inherit; width: 18px; height: 18px; }
/* the step row under the hero: one line, however many steps a page has */
.xh__steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .xh__steps { grid-auto-flow: initial; } }

/* Tablets and small laptops (761 to 1100px): the full menu does not fit on one line, so use the menu button */
@media (min-width: 761px) and (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta .nav__go { display: none; }
  .site-header.open .nav__links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 80px; left: 0; right: 0; background: var(--bg-2, var(--bg)); border-bottom: 1px solid var(--line); padding: 14px 24px; gap: 2px; }
  .site-header.open .nav__links a { padding: 14px; }
  .site-header.open .nav__dd-btn { display: flex; }
  .site-header.open .nav__dd-btn svg { display: none; }
  .site-header.open .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0 16px; background: none; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .site-header.open .nav__menu::before { display: none; }
  .site-header.open .nav__links > a::after, .site-header.open .nav__dd-btn::after { left: 14px; right: auto; width: 28px; bottom: 8px; }
}
@media (max-width: 1080px) { .x-plat ul { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px 44px; } }
.x-more .x-posts { margin-top: 0; } .x-more .x-head .x-lead { margin: 0; }
/* blog images are never cropped: the whole cover always shows (owner asked 2026-11-11) */
.x-post__img { aspect-ratio: 16 / 9; background: #fff; }
.x-post__img img { object-fit: contain; object-position: center; }
.x-post:hover .x-post__img img { transform: none; }
.x-post--big .x-post__img { aspect-ratio: 16 / 9; height: auto; min-height: 0; align-self: center; background: #fff; border-radius: 0; }
.x-post--big .x-post__img img { object-fit: contain; }
@media (max-width: 860px) { .x-post--big .x-post__img { aspect-ratio: 16 / 9; } }
@media (min-width: 861px) { .x-post--big { align-items: stretch; } .x-post--big .x-post__img { align-self: stretch; height: 100%; aspect-ratio: auto; min-height: 380px; } }
/* Insights library: topics, search, sort, compact cards (owner asked 2026-11-11, built for 1000+ posts) */
.x-blogbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.x-blogcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 360px; min-width: 0; padding: 2px 0; }
.x-blogcats::-webkit-scrollbar { display: none; }
.x-blogcats button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--x-line); background: var(--x-bg); color: var(--x-ink); border-radius: 999px; padding: 9px 16px; font: 500 .9rem var(--font); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.x-blogcats button span { color: var(--x-muted); font-size: .78rem; }
.x-blogcats button:hover { border-color: var(--x-ink); }
.x-blogcats button.on { background: var(--x-ink); border-color: var(--x-ink); color: var(--x-bg); }
.x-blogcats button.on span { color: inherit; opacity: .7; }
.x-blogtools { display: flex; gap: 10px; align-items: center; }
.x-blogq { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--x-line); border-radius: 999px; background: var(--x-bg); width: 260px; color: var(--x-muted); }
.x-blogq:focus-within { border-color: var(--x-accent); }
.x-blogq svg { width: 18px; height: 18px; flex: none; }
.x-blogq input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 .92rem var(--font); color: var(--x-ink); }
.x-blogq input::placeholder { color: var(--x-muted); }
.x-blogsort { display: flex; padding: 3px; border: 1px solid var(--x-line); border-radius: 999px; background: var(--x-bg); flex: none; }
.x-blogsort button { border: 0; background: transparent; padding: 9px 15px; border-radius: 999px; font: 500 .88rem var(--font); color: var(--x-muted); cursor: pointer; white-space: nowrap; }
.x-blogsort button.on { background: var(--x-accent); color: #fff; }
.x-blogcount { color: var(--x-muted); font-size: .92rem; margin: 0; }
.x-posts--sm { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.x-post--sm { border-radius: 16px; }
.x-post--sm .x-post__txt { padding: 16px 18px 20px; }
.x-post--sm .x-post__meta { font-size: .76rem; gap: 4px 10px; }
.x-post--sm .x-post__meta b { font-size: .68rem; }
.x-post--sm h3 { font-size: 1.12rem; line-height: 1.3; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.x-more { display: flex; justify-content: center; margin-top: 34px; }
.x-morebtn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1px solid var(--x-ink); background: transparent; color: var(--x-ink); font: 600 .95rem var(--font); cursor: pointer; transition: background .2s, color .2s; }
.x-morebtn span { font-weight: 500; color: var(--x-muted); }
.x-morebtn:hover { background: var(--x-ink); color: var(--x-bg); }
.x-morebtn:hover span { color: inherit; opacity: .7; }
@media (max-width: 1180px) { .x-posts--sm { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .x-blogtools { width: 100%; } .x-blogq { flex: 1; width: auto; } }
@media (max-width: 860px) { .x-posts--sm { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .x-posts--sm { grid-template-columns: 1fr; gap: 10px; }
  .x-post--sm { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: none; align-items: center; border-radius: 14px; }
  .x-post--sm .x-post__img { margin: 10px 0 10px 10px; border-radius: 9px; border: 1px solid var(--x-line); }
  .x-post--sm .x-post__txt { padding: 10px 14px; }
  .x-post--sm h3 { font-size: .98rem; margin-top: 6px; }
  .x-post--sm .x-post__meta span:last-child { display: none; }
}
@media (min-width: 861px) { .x-post--big { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .x-post--big .x-post__img { min-height: 0; } .x-post--big .x-post__txt { padding: clamp(24px, 3vw, 40px); } .x-post--big h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); } }
@media (max-width: 600px) { .x-blogbar { gap: 12px; } .x-blogcats { flex-basis: 100%; } .x-blogtools { flex-wrap: wrap; } .x-blogq { flex: 1 1 100%; } .x-blogsort { width: 100%; } .x-blogsort button { flex: 1; } }

/* ===== What clients say (testimonials) =====
   The section is hidden in the HTML and only shown by js/words.js when the owner has
   published a real testimonial in Workspace, so the page never carries an empty block. */
.x-says { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.x-say { background: var(--x-bg); border: 1px solid var(--x-line); border-radius: var(--x-radius); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.x-say__stars { display: flex; gap: 3px; color: var(--x-accent); }
.x-say__stars svg { width: 15px; height: 15px; }
.x-say__p { font: 500 .74rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--x-accent); }
.x-say blockquote { font-family: var(--display); font-weight: 400; font-size: clamp(1.12rem, 1.4vw, 1.38rem); line-height: 1.45; letter-spacing: -.015em; color: var(--x-ink); margin: 0; }
.x-say__who { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--x-line); display: flex; align-items: center; gap: 12px; }
.x-say__av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.x-say__av--i { display: grid; place-items: center; background: var(--x-bg-2); font: 600 .95rem var(--font); color: var(--x-accent); }
.x-say__n { flex: 1 1 auto; min-width: 0; }
.x-say__n b { display: block; font: 600 .96rem var(--font); color: var(--x-ink); }
.x-say__n b a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--x-line); }
.x-say__n b a:hover { color: var(--x-accent); border-color: currentColor; }
.x-say__n span { display: block; font-size: .86rem; color: var(--x-muted); margin-top: 2px; }
@media (max-width: 1000px) { .x-says { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .x-says { grid-template-columns: 1fr; } }
