/* ============================================================
   IBlockTechs — conversion, case-study, and interactive layers
   ============================================================ */

.header__language {
  min-width: 34px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--alpha-line-strong);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .08em;
}
.header__language:hover { color: var(--color-text); border-color: var(--alpha-text-soft); }

.hero__bg {
  background-image: image-set(
    url('/assets/images/space.avif') type('image/avif'),
    url('/assets/images/space.webp') type('image/webp')
  );
}
.hero__content { max-width: 1040px; }
.hero__title { font-size: clamp(52px, 6.4vw, 84px); }
.hero__subtitle { max-width: 720px; }
.section--bg-image {
  background-image: image-set(
    url('/assets/images/mountain.avif') type('image/avif'),
    url('/assets/images/mountain.webp') type('image/webp')
  );
}

/* Selected work */
.selected-work { overflow: hidden; }
.showcase-grid { display: grid; gap: var(--space-6); margin-bottom: var(--space-10); }
.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--alpha-line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 20%, rgba(82,102,235,.16), transparent 34%),
    var(--color-bg);
}
.showcase-card--trust { background: radial-gradient(circle at 75% 50%, rgba(205,221,255,.1), transparent 38%), var(--color-bg); }
.showcase-card__content { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.showcase-card__meta { width: 100%; display: flex; justify-content: space-between; gap: var(--space-4); color: var(--color-text-faint); font-size: var(--text-caption); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-10); }
.showcase-card__logo { border-radius: var(--radius-md); margin-bottom: var(--space-6); }
.showcase-card h3 { font-size: clamp(38px, 5vw, 64px); margin-bottom: var(--space-4); }
.showcase-card__content > p { max-width: 570px; color: var(--color-text-muted); font-size: var(--text-subheading); line-height: 1.6; }
.showcase-card__signals { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-8) 0; }
.showcase-card__signals li { padding: 6px 12px; border: 1px solid var(--alpha-line-strong); border-radius: var(--radius-pill); color: var(--color-text-muted); font-size: var(--text-caption); }
.text-link { margin-top: auto; color: var(--color-text); font-weight: var(--font-weight-medium); }
.text-link span { display: inline-block; margin-left: 6px; transition: transform var(--transition-base); }
.text-link:hover { color: var(--color-accent-soft); }
.text-link:hover span { transform: translateX(5px); }

.mini-product {
  width: min(300px, calc(100% - 48px));
  align-self: center;
  justify-self: center;
  padding: 20px 18px 24px;
  border: 7px solid #30303e;
  border-radius: 42px;
  color: var(--color-text);
  background: linear-gradient(165deg,#161625,#20203a);
  box-shadow: 0 35px 80px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(2deg);
}
.mini-product__bar { display: flex; justify-content: space-between; margin-bottom: 42px; font-size: 10px; color: var(--color-text-muted); }
.mini-product__eyebrow { color: var(--color-text-muted); font-size: 12px; }
.mini-product__value { font-family: var(--font-display); font-size: 36px; margin: 4px 0 20px; }
.mini-product__chart { height: 92px; display: flex; align-items: end; gap: 7px; border-bottom: 1px solid var(--alpha-line-strong); margin-bottom: 18px; }
.mini-product__chart i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg,var(--color-accent),rgba(82,102,235,.18)); }
.mini-product__chart i:nth-child(1) { height: 38%; }.mini-product__chart i:nth-child(2) { height: 52%; }.mini-product__chart i:nth-child(3) { height: 46%; }.mini-product__chart i:nth-child(4) { height: 68%; }.mini-product__chart i:nth-child(5) { height: 61%; }.mini-product__chart i:nth-child(6) { height: 84%; }
.mini-product__asset { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--alpha-line); }
.mini-product__asset-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--alpha-accent-tint); color: var(--color-accent-soft); font-size: 10px; }
.mini-product__asset strong,.mini-product__asset small { display: block; }.mini-product__asset strong { font-size: 11px; }.mini-product__asset small { margin-top: 3px; color: var(--color-text-faint); font-size: 9px; }.mini-product__asset b { color: #8fd6af; font-size: 10px; }

.flow-preview { align-self: center; justify-self: stretch; margin: var(--space-8); padding: var(--space-10); border: 1px solid var(--alpha-line-strong); border-radius: var(--radius-lg); background: rgba(18,18,28,.72); }
.flow-preview__node { padding: var(--space-5); border: 1px solid var(--alpha-line-strong); border-radius: var(--radius-md); background: var(--color-surface-1); display: grid; grid-template-columns: 42px 1fr; gap: 2px 12px; }
.flow-preview__node span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--alpha-accent-tint); color: var(--color-accent-soft); font-size: 11px; }.flow-preview__node strong { font-size: var(--text-body-sm); }.flow-preview__node small { color: var(--color-text-faint); }
.flow-preview__line { width: 1px; height: 40px; margin-left: 41px; background: linear-gradient(var(--color-accent),var(--alpha-line-strong)); position: relative; }.flow-preview__line::after { content: ''; position: absolute; bottom: -2px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }

/* Truthful proof strip */
.proof-strip { display: grid; grid-template-columns: repeat(4,1fr); max-width: var(--page-max-width); margin: 0 auto; border: 1px solid var(--alpha-line); background: var(--alpha-line); gap: 1px; }
.proof-strip__item { min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-3); padding: var(--space-6); text-align: center; background: var(--color-bg); }
.proof-strip__item strong { font-family: var(--font-display); font-size: clamp(28px,3vw,44px); font-weight: var(--font-weight-light); color: var(--color-text); }.proof-strip__item span { color: var(--color-text-muted); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; }
.proof-strip--contained { max-width: none; }

/* Notes */
.notes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--alpha-line); border: 1px solid var(--alpha-line); }
.note-card { min-height: 340px; padding: var(--space-8); background: var(--color-surface-2); display: flex; flex-direction: column; transition: background-color var(--transition-base), transform var(--transition-base); }
.note-card:hover { background: var(--color-surface-3); transform: translateY(-3px); }.note-card > span { color: var(--color-accent); font-size: var(--text-caption); letter-spacing: .09em; text-transform: uppercase; }.note-card h2,.note-card h3 { margin: var(--space-8) 0 var(--space-4); font-size: var(--text-heading-sm); }.note-card p { color: var(--color-text-muted); line-height: 1.6; }.note-card b { margin-top: auto; padding-top: var(--space-8); font-size: var(--text-body-sm); font-weight: var(--font-weight-medium); }

/* Contact brief */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px,8vw,112px); align-items: start; }
.contact-copy { position: sticky; top: 120px; }.contact-copy .section__eyebrow,.contact-copy .section__title,.contact-copy .section__description { text-align: left; margin-left: 0; }.contact-copy .section__title { font-size: clamp(44px,5vw,64px); }.contact-expectation { display: grid; gap: 8px; padding-top: var(--space-6); border-top: 1px solid var(--alpha-line-strong); color: var(--color-text-muted); }.contact-expectation strong { color: var(--color-text); }.contact-expectation span { line-height: 1.6; }
.project-form { display: grid; gap: var(--space-5); padding: clamp(24px,4vw,48px); border: 1px solid var(--alpha-line-strong); border-radius: var(--radius-lg); background: var(--color-bg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }.project-form label { display: grid; gap: 8px; color: var(--color-text-muted); font-size: var(--text-body-sm); }.project-form input,.project-form select,.project-form textarea { width: 100%; border-radius: var(--radius-md); background: var(--color-surface-1); }.project-form textarea { resize: vertical; min-height: 130px; }.project-form__note,.project-form__status { color: var(--color-text-faint); font-size: var(--text-caption); line-height: 1.5; }.project-form .btn { justify-self: start; }
.project-form .project-form__consent { grid-template-columns: 20px 1fr; align-items: start; gap: 12px; color: var(--color-text-muted); line-height: 1.55; }.project-form .project-form__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-accent); }.project-form__consent a,.project-form__status a { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }.form-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }.project-form__status:not(:empty) { padding: var(--space-4); border-left: 2px solid var(--color-accent); color: var(--color-text-muted); background: var(--alpha-accent-tint); }.project-form button:disabled { cursor: wait; opacity: .72; }

/* Fit checker */
.fit-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(48px,8vw,112px); align-items: start; }.fit-layout > div { position: sticky; top: 120px; }.fit-layout .section__eyebrow,.fit-layout .section__title,.fit-layout .section__description { text-align: left; margin-left: 0; }.fit-check { display: grid; gap: var(--space-8); }.fit-check fieldset { border: 0; }.fit-check legend { margin-bottom: var(--space-4); color: var(--color-text); font-weight: var(--font-weight-medium); }.choice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-2); }.choice-grid label { cursor: pointer; }.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }.choice-grid span { min-height: 58px; display: grid; place-items: center; padding: var(--space-3); border: 1px solid var(--alpha-line-strong); border-radius: var(--radius-md); color: var(--color-text-muted); text-align: center; transition: all var(--transition-base); }.choice-grid input:checked + span { border-color: var(--color-accent); color: var(--color-text); background: var(--alpha-accent-tint); box-shadow: inset 0 0 0 1px var(--color-accent); }.choice-grid input:focus-visible + span { outline: 2px solid var(--color-accent-soft); outline-offset: 3px; }
.fit-result { padding: var(--space-8); border-radius: var(--radius-lg); background: linear-gradient(145deg,var(--color-surface-3),var(--color-bg)); border: 1px solid var(--alpha-line-strong); }.fit-result > span { color: var(--color-accent-soft); font-size: var(--text-caption); letter-spacing: .1em; text-transform: uppercase; }.fit-result h3 { margin: var(--space-4) 0; font-size: var(--text-heading); }.fit-result p { color: var(--color-text-muted); line-height: 1.65; }.fit-result__meta { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--alpha-line-strong); color: var(--color-text-muted); font-size: var(--text-body-sm); }.fit-result__meta a { color: var(--color-text); }

/* Portfolio evidence */
.portfolio-grid--featured { grid-template-columns: repeat(2,1fr); }.portfolio-grid--featured .portfolio-card { min-height: 500px; padding: var(--space-10); }.portfolio-card__facts { display: grid; gap: var(--space-3); padding: var(--space-5) 0; border-top: 1px solid var(--alpha-line); border-bottom: 1px solid var(--alpha-line); }.portfolio-card__facts div { display: grid; grid-template-columns: 100px 1fr; gap: var(--space-4); }.portfolio-card__facts dt { color: var(--color-text-faint); font-size: var(--text-caption); text-transform: uppercase; letter-spacing: .08em; }.portfolio-card__facts dd { color: var(--color-text-muted); font-size: var(--text-body-sm); }.filter-empty { padding: var(--space-14); text-align: center; color: var(--color-text-muted); border: 1px dashed var(--alpha-line-strong); }

/* Project product demo and architecture */
.project-evidence { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--alpha-line); border: 1px solid var(--alpha-line); }.project-evidence__item { padding: var(--space-8); background: var(--color-surface-1); }.project-evidence__item span { display: block; margin-bottom: var(--space-3); color: var(--accent); font-size: var(--text-caption); letter-spacing: .1em; text-transform: uppercase; }.project-evidence__item strong { font-family: var(--font-display); font-size: var(--text-heading-sm); font-weight: var(--font-weight-light); }.project-evidence__item p { margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-body-sm); line-height: 1.6; }
.product-demo { display: grid; grid-template-columns: minmax(280px,.8fr) 1.2fr; gap: clamp(40px,7vw,96px); align-items: center; }.product-demo__phone { width: min(330px,100%); justify-self: center; padding: 20px; border: 8px solid #30303e; border-radius: 48px; background: linear-gradient(160deg,#121222,#222242); box-shadow: 0 40px 100px rgba(0,0,0,.4); }.product-demo__screen { min-height: 520px; }.product-demo__screen[hidden] { display: none; }.product-demo__screen-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-10); color: var(--color-text-muted); font-size: var(--text-caption); }.product-demo__screen h3 { font-size: var(--text-heading); margin-bottom: var(--space-4); }.product-demo__screen > p { color: var(--color-text-muted); }.product-demo__balance { margin: var(--space-10) 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--alpha-accent-tint); }.product-demo__balance small,.product-demo__balance strong { display: block; }.product-demo__balance small { color: var(--color-text-muted); }.product-demo__balance strong { margin: 8px 0; font-family: var(--font-display); font-size: 36px; }.product-demo__balance b { color: #8fd6af; font-size: var(--text-body-sm); }.product-demo__row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: var(--space-4) 0; border-bottom: 1px solid var(--alpha-line); }.product-demo__row i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--alpha-accent-tint); color: var(--accent-light); font-style: normal; font-size: 11px; }.product-demo__row strong,.product-demo__row small { display: block; }.product-demo__row small { color: var(--color-text-faint); font-size: 11px; }.product-demo__row b { color: var(--color-text-muted); font-size: 12px; }.product-demo__controls { display: grid; gap: var(--space-3); }.product-demo__controls button { text-align: left; padding: var(--space-5); border: 1px solid var(--alpha-line-strong); border-radius: var(--radius-md); color: var(--color-text-muted); }.product-demo__controls button strong,.product-demo__controls button span { display: block; }.product-demo__controls button strong { color: var(--color-text); margin-bottom: 6px; }.product-demo__controls button[aria-selected="true"] { border-color: var(--accent); background: color-mix(in srgb,var(--accent) 10%,transparent); }.product-demo__note { margin-top: var(--space-5); color: var(--color-text-faint); font-size: var(--text-caption); }
.product-demo__tabs { display: grid; gap: var(--space-3); }.product-demo__tabs button { min-height: 54px; padding: var(--space-4) var(--space-5); border: 1px solid var(--alpha-line-strong); border-radius: var(--radius-md); color: var(--color-text-muted); text-align: left; }.product-demo__tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--color-text); background: color-mix(in srgb,var(--accent) 10%,transparent); }
.decision-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-3); }.decision-flow button { min-height: 150px; padding: var(--space-6); border: 1px solid var(--alpha-line-strong); border-radius: var(--radius-md); text-align: left; transition: all var(--transition-base); }.decision-flow button span,.decision-flow button strong { display: block; }.decision-flow button span { color: var(--accent); font-size: var(--text-caption); }.decision-flow button strong { margin-top: var(--space-6); font-family: var(--font-display); font-size: var(--text-heading-sm); }.decision-flow button[aria-pressed="true"] { background: color-mix(in srgb,var(--accent) 12%,transparent); border-color: var(--accent); transform: translateY(-3px); }.decision-flow__detail { margin-top: var(--space-4); padding: var(--space-8); border-left: 2px solid var(--accent); background: var(--color-surface-1); }.decision-flow__detail h3 { margin-bottom: var(--space-3); }.decision-flow__detail p { color: var(--color-text-muted); line-height: 1.65; }

/* Insight articles */
.article-hero { padding: calc(var(--space-32) + 60px) var(--space-6) var(--space-20); border-bottom: 1px solid var(--alpha-line); }.article-hero__inner,.article-body { max-width: 800px; margin: 0 auto; }.article-hero__meta { color: var(--color-accent); font-size: var(--text-caption); letter-spacing: .12em; text-transform: uppercase; }.article-hero h1 { margin: var(--space-6) 0; font-size: clamp(48px,7vw,76px); }.article-hero p { color: var(--color-text-muted); font-size: var(--text-subheading); line-height: 1.65; }.article-body { padding: var(--space-20) var(--space-6); }.article-body h2 { margin: var(--space-14) 0 var(--space-5); font-size: var(--text-heading); }.article-body h3 { margin: var(--space-10) 0 var(--space-4); font-size: var(--text-heading-sm); }.article-body p,.article-body li { color: var(--color-text-muted); line-height: 1.75; }.article-body p + p { margin-top: var(--space-5); }.article-body ul { display: grid; gap: var(--space-3); margin: var(--space-5) 0; }.article-body li { position: relative; padding-left: var(--space-5); }.article-body li::before { content: '—'; position: absolute; left: 0; color: var(--color-accent); }.article-callout { margin: var(--space-10) 0; padding: var(--space-8); border: 1px solid var(--alpha-line-strong); border-left: 3px solid var(--color-accent); background: var(--color-surface-1); }.article-back { display: inline-block; margin-bottom: var(--space-6); color: var(--color-text-muted); }

@media (max-width: 1024px) {
  .showcase-card { grid-template-columns: 1fr 340px; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .project-evidence,.decision-flow { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .header__language { margin-top: var(--space-3); width: 100%; }
  .showcase-card { grid-template-columns: 1fr; }.showcase-card__content { padding: var(--space-8); }.mini-product { margin: 0 auto var(--space-10); }.flow-preview { margin: 0 var(--space-6) var(--space-8); }
  .proof-strip { grid-template-columns: repeat(2,1fr); }.notes-grid { grid-template-columns: 1fr; }
  .contact-layout,.fit-layout,.product-demo { grid-template-columns: 1fr; }.contact-copy,.fit-layout > div { position: static; }.form-row { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }.fit-result__meta { flex-direction: column; }
  .portfolio-grid--featured { grid-template-columns: 1fr; }.portfolio-grid--featured .portfolio-card { padding: var(--space-8); }.portfolio-card__facts div { grid-template-columns: 1fr; gap: 4px; }
  .project-evidence,.decision-flow { grid-template-columns: 1fr; }.product-demo__phone { max-width: 310px; }.article-hero { padding-left: var(--space-4); padding-right: var(--space-4); }
}
@media (max-width: 480px) {
  .proof-strip { grid-template-columns: 1fr; }.showcase-card__meta { flex-direction: column; }.mini-product { transform: none; }.project-form { padding: var(--space-5); }
}
