/* ==========================================================================
   HorAfrid — Block engine styles
   ==========================================================================

   Loaded only by pages that are actually built from blocks, so the other 42
   pages never see it (same bytes, same lastmod).

   Two rules hold everywhere in this file:

   1. Every class here is produced by a *token* from admin/lib/blocks.json —
      `blk--w-wide`, `blk--bg-soft`, `blk-cols--r-70-30`. There is no path from
      stored JSON to arbitrary CSS, so `background:url(javascript:)` cannot be
      expressed even by a hand-crafted request.
   2. Mobile-first and RTL-first: the base rules are the phone layout, and the
      only media queries widen things. Logical properties (`margin-inline`,
      `padding-block`) are used instead of left/right so the same rule is
      correct in RTL without a mirror block.
   ========================================================================== */

/* ---------- 1. Base ---------- */
.blk{position:relative;margin:0}
.blk + .blk{margin-block-start:1.75rem}
.blk-page > .blk:first-child{margin-block-start:0}
.blk-cols > .blk,
.blk-col > .blk{margin-block-start:0}
.blk-col > .blk + .blk{margin-block-start:1.25rem}
/* A block that owns a `.container` was designed for the page edge. Inside a
   column the column *is* the container, so the nested one must not add a
   second max-width or its own 22px padding — without this the contact form
   sat 50px left of the grid and 84px too narrow. */
.blk-col .container{width:auto;max-width:none;margin:0;padding-inline:0}

/* Width tokens */
.blk--w-narrow{max-width:760px;margin-inline:auto}
.blk--w-normal{max-width:var(--container);margin-inline:auto}
.blk--w-wide{max-width:1340px;margin-inline:auto}
.blk--w-full{max-width:none}

/* Background tokens. `--image` is a tinted panel, never a URL: the picture has
   to come through an `image` block so it is served by our own media library. */
.blk--bg-soft{background:var(--surface-2);border-radius:var(--r-lg);padding:1.5rem}
.blk--bg-navy{background:var(--navy);color:#e8edf8;border-radius:var(--r-lg);padding:1.5rem}
.blk--bg-brand{background:var(--orange-soft);border:1px solid var(--orange-line);border-radius:var(--r-lg);padding:1.5rem}
.blk--bg-image{background:linear-gradient(180deg,rgba(11,26,58,.06),rgba(11,26,58,.02));border-radius:var(--r-lg);padding:1.5rem}
/* The pale full-bleed stripe the hand-written pages use (`.section--alt`).
   `soft` is a rounded card inset from the page; on a page-width section that
   leaves a 20px radius against the viewport edge and an inline inset nothing
   else on the page has. This one is the real thing: edge to edge, hairline
   rules top and bottom, no radius and no padding of its own. */
.blk--bg-band{background:var(--surface-2);border-block:1px solid var(--border-soft)}
.blk--bg-navy h2,.blk--bg-navy h3,.blk--bg-navy .blk-hero__title{color:#fff}
.blk--bg-navy a{color:#fff}

/* Spacing token. The catalog exposes one `space` control, so there is exactly
   one family of classes here. A background panel above brings its own
   `padding:1.5rem`; these rules come later in the file at the same
   specificity, so `space` wins on the block axis and the inline inset the
   panel set is kept.
   The three steps mirror the hand-written page's own rhythm — `.section`
   (72px), `.section--tight` (48px) and a half step — so a migrated page keeps
   the vertical spacing it had before it became blocks. */
.blk--space-none{padding-block:0}
.blk--space-sm{padding-block:1.5rem}
.blk--space-md{padding-block:3rem}
.blk--space-lg{padding-block:4.5rem}

/* A section is a page band, not a card in a stack: it butts against its
   neighbours and carries its own padding. Two classes in the selector so it
   outranks the generic `.blk + .blk` margin above. */
.blk--section,
.blk + .blk--section,
.blk--section + .blk{margin-block-start:0}

/* Alignment + radius */
.blk--align-start{text-align:start}
.blk--align-center{text-align:center}
.blk--align-end{text-align:end}
.blk--r-none{border-radius:0}
.blk--r-md{border-radius:var(--r)}
.blk--r-lg{border-radius:var(--r-xl)}

/* Responsive visibility */
@media (max-width:719px){.blk--hide-mobile{display:none}}
@media (min-width:720px) and (max-width:1023px){.blk--hide-tablet{display:none}}
@media (min-width:1024px){.blk--hide-desktop{display:none}}

/* The page's one <h1> when no block claimed it: present for screen readers and
   search engines, out of the way of the design. */
.blk-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---------- 2. Hero ---------- */
.blk-hero{display:grid;gap:1.5rem;align-items:center}
.blk-hero__eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.02em;color:var(--orange-2);margin-block-end:.5rem}
.blk-hero__title{font-size:clamp(1.5rem,4.2vw,2.5rem);line-height:1.35;font-weight:800;color:var(--navy)}
.blk-hero__accent{color:var(--orange)}
.blk-hero__lead{margin-block-start:.85rem;color:var(--muted);font-size:1.02rem;max-width:56ch}
.blk-hero__pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-block-start:1rem}
.blk-hero__pills li{font-size:.78rem;font-weight:600;color:var(--navy-3);background:#eef2fb;border-radius:999px;padding:.3rem .75rem}
.blk-hero__actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-block-start:1.35rem}
.blk-hero__media img{width:100%;border-radius:var(--r-lg);box-shadow:var(--sh-2)}
@media (min-width:900px){
  .blk-hero{grid-template-columns:1.05fr .95fr}
  .blk-hero__body{padding-inline-end:1rem}
}

/* ---------- 3. Prose ---------- */
.blk-prose{max-width:76ch}
.blk-prose > * + *{margin-block-start:1rem}

/* A heading that stands alone. It has to carry its own type scale because it
   is not inside `.prose`, which is where the article headings normally get
   theirs. The block id doubles as the anchor the in-page nav links to. */
.blk-heading{margin:0;font-weight:800;line-height:1.5;letter-spacing:-.01em;color:var(--ink)}
h2.blk-heading{font-size:1.3rem}
h3.blk-heading{font-size:1.1rem}
.blk-heading.is-center{text-align:center}
@media (min-width:768px){
  h2.blk-heading{font-size:1.55rem}
  h3.blk-heading{font-size:1.2rem}
}

/* ---------- 4. Figure / gallery ---------- */
.blk-figure{margin:0}
.blk-figure__img{width:100%;border-radius:var(--r)}
.blk-figure figcaption{margin-block-start:.55rem;font-size:.85rem;color:var(--muted-2)}
.blk-figure--w25{max-width:25%}
.blk-figure--w33{max-width:33%}
.blk-figure--w50{max-width:50%}
.blk-figure--w66{max-width:66%}
.blk-figure--w75{max-width:75%}
.blk-figure--w100{max-width:100%}
.blk-figure--start{margin-inline-start:0;margin-inline-end:auto}
.blk-figure--center{margin-inline:auto}
.blk-figure--end{margin-inline-start:auto;margin-inline-end:0}
/* A photo pinned to a fraction of the column is unreadable on a phone, so the
   fraction only applies once there is room for it. */
@media (max-width:639px){
  .blk-figure--w25,.blk-figure--w33,.blk-figure--w50,.blk-figure--w66,.blk-figure--w75{max-width:100%}
}

.blk-gallery{display:grid;gap:.85rem;grid-template-columns:1fr}
.blk-gallery .blk-figure__img{aspect-ratio:4/3;object-fit:cover}
@media (min-width:560px){.blk-gallery--c2,.blk-gallery--c3,.blk-gallery--c4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:900px){
  .blk-gallery--c3{grid-template-columns:repeat(3,1fr)}
  .blk-gallery--c4{grid-template-columns:repeat(4,1fr)}
}

/* ---------- 5. Cards ---------- */
.blk-cards{display:grid;gap:1rem;grid-template-columns:1fr}
@media (min-width:560px){.blk-cards--c2,.blk-cards--c3,.blk-cards--c4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){
  .blk-cards--c3{grid-template-columns:repeat(3,1fr)}
  .blk-cards--c4{grid-template-columns:repeat(4,1fr)}
}
.blk-card{display:flex;flex-direction:column;gap:.5rem;height:100%;padding:1.15rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--sh-1);transition:transform var(--fast) var(--ease),box-shadow var(--fast) var(--ease)}
a.blk-card:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.blk-card__img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--r-sm)}
.blk-card__icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--orange-soft);color:var(--orange-2)}
.blk-card__icon svg{width:22px;height:22px}
.blk-card__title{font-weight:700;color:var(--navy);font-size:1.02rem}
.blk-card__text{font-size:.9rem;color:var(--muted)}

/* ---------- 6. Carousel outro (the slider itself reuses .cards-* ) ---------- */
.blk-carousel__outro{margin-block-start:1.25rem}
.blk-carousel__outro .chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-block-start:.85rem}

/* ---------- 7. Spec table ---------- */
.blk-specs__wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--r);background:var(--surface)}
.blk-specs{width:100%;border-collapse:collapse;font-size:.92rem}
.blk-specs th,.blk-specs td{padding:.7rem .9rem;text-align:start;border-block-end:1px solid var(--border-soft);vertical-align:top}
.blk-specs tr:last-child th,.blk-specs tr:last-child td{border-block-end:0}
.blk-specs th{width:42%;font-weight:600;color:var(--navy);background:var(--surface-2)}
.blk-specs__note{margin-block-start:.6rem;font-size:.83rem;color:var(--muted-2)}

/* ---------- 7b. FAQ band
   The FAQ is a reading column, not a table: the hand-written bands cap it at
   860px, and a question/answer list stretched to the full 1136px container is
   unreadable. The block therefore wraps its list in a container of its own. */
.blk--faq .container{max-width:860px}

/* ---------- 8. Stats ---------- */
.blk-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem}
@media (min-width:820px){.blk-stats{grid-template-columns:repeat(4,1fr)}}
.blk-stats li{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:1rem .6rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--r)}
.blk-stat__value{font-size:1.5rem;font-weight:800;color:var(--navy);line-height:1.2}
.blk-stat__suffix{color:var(--orange);font-size:1rem}
.blk-stat__label{font-size:.78rem;color:var(--muted);text-align:center}

/* ---------- 8b. Stat card (stats variant="card")
   The about page's 2x2 panel: `.stats-card` is the site's own grid, but the
   cell borders on that page are inline styles computed from each cell's
   position. A block may not carry inline styles (the panel's CSP drops them),
   so the same geometry is expressed with nth-child rules. `--odd` is set when
   the last row holds a single cell — with an even count the last two cells are
   the last row and neither draws a bottom border. */
.blk-stats-card{grid-template-columns:1fr 1fr;box-shadow:var(--sh-2)}
.blk-stats-card .stat-cell{border-bottom:1px solid var(--border-soft)}
.blk-stats-card .stat-cell:nth-child(odd){border-inline-start:0}
.blk-stats-card .stat-cell:nth-last-child(-n+2){border-bottom:0}
.blk-stats-card--odd .stat-cell:nth-last-child(-n+2){border-bottom:1px solid var(--border-soft)}
.blk-stats-card--odd .stat-cell:last-child{border-bottom:0}

/* ---------- 9. Service cards (cards variant="service")
   The hand-written service pages stack `.svc-card` in `.grid` with an inline
   `gap:12px`; a block page carries no inline styles, so the gutter lives here.
   The card and icon classes themselves are the site's own — see style.css. */
.blk-svc{display:grid;gap:12px}
.blk-svc__title{font-size:1.25rem;margin-block-end:1rem}
.blk-svc__lead{color:var(--muted);font-size:.9rem;margin-block-end:1rem}
/* A service card that carries a photo instead of an icon. The card's own
   padding is 26px/24px, so the negative margins pull the photo out to the
   card's edges and the calc() restores the width the padding removed — the
   photo reads as the card's top band, not as an inset picture. Only defined
   here: `blocks.css` ships with block pages alone, so the hand-written
   `.svc-card` markup is untouched. */
.svc-card__img{
  display:block;
  width:calc(100% + 48px);margin:-26px -24px 18px;
  aspect-ratio:16/10;object-fit:cover;
}

/* ---------- 9c. Compact steps (steps variant="compact")
   The consulting page's process list. Every number here comes from the inline
   styles that page carries (`padding:16px 16px 14px`, a 26px badge, .85rem and
   .8rem type, `gap:10px`); a block page cannot use inline styles, so the same
   geometry is expressed as classes. The hairline above it is the page's own
   `border-top` separator — a border on the block, not a rule element, so the
   panel can delete the block without leaving a stray line behind. */
.blk-steps-compact{padding-block-start:20px;border-block-start:1px solid var(--border)}
.blk-steps-compact > .sub{font-size:.95rem;margin-block-end:10px}
.blk-steps-compact__list{display:grid;gap:10px}
.blk-steps-compact .step{padding:16px 16px 14px}
.blk-steps-compact .step-n{width:26px;height:26px;font-size:.75rem;margin-bottom:8px}
/* 10px, not `.step .sub`'s 6px: the source list lives inside a `.panel-box`,
   whose own `.sub` rule sets 10px, and the page overrides only the font-size. */
.blk-steps-compact .step .sub{font-size:.85rem;margin-bottom:10px}
.blk-steps-compact .step p{font-size:.8rem}

/* ---------- 9b. Checklist (block `checklist`)
   The source pages wrote these two gaps inline (`margin-top:12px` under the
   heading, `18px` above the tinted note). A block page cannot use inline
   styles, so they are classes here. */
.blk-checklist__list{margin-block-start:12px}
.blk-checklist__note{margin-block-start:18px}
/* The source pages carried this typography inline on the `<p>`; a block page
   cannot, so it lives here — same numbers, so the panel keeps its height. */
.blk-checklist__note p{font-size:.86rem;color:var(--muted);line-height:1.9;margin:0}
.blk-checklist__note p + p{margin-block-start:.7em}

/* ---------- 10. Callout / quote ---------- */
.blk-callout{border-radius:var(--r);padding:1.1rem 1.15rem;border:1px solid var(--border);background:var(--surface-2)}
/* The plain white panel the hand-written pages use (`.panel-box`): same box,
   none of the tint. `quote` is the orange-soft one, `info` the blue one. */
.blk-callout--panel{background:var(--surface);border-color:var(--border)}

/* A `quote` block rendered as the site's own `.panel-box`. The body carried
   this typography inline on the source pages; a block page cannot, so it is a
   class here — the same numbers, so the panel keeps its height. */
.blk-panel p{font-size:.88rem;color:var(--muted);line-height:1.9;margin:0}
.blk-panel p + p{margin-block-start:.7em}
/* The source pages put these panels INSIDE `.prose`, where `.prose h3` gives
   the panel's own heading a 30px top margin. A block panel is a sibling of the
   prose block, not a child of it, so the rhythm has to be restored here —
   otherwise the panel comes out 30px shorter than the one it replaced. */
.blk--prose + .blk--quote .panel-box h3.sub{margin-block-start:30px}
.blk-callout__title{font-weight:700;margin-block-end:.4rem;color:var(--navy)}
.blk-callout--info{border-inline-start:4px solid var(--blue);background:#f2f6ff}
.blk-callout--warn{border-inline-start:4px solid var(--amber);background:#fff8ec}
.blk-callout--quote{border-inline-start:4px solid var(--orange);background:var(--orange-soft);font-style:italic}
.blk-callout .prose{font-size:.95rem}

/* ---------- 10. Testimonials ---------- */
.blk-quotes{display:grid;gap:1rem;grid-template-columns:1fr}
@media (min-width:820px){.blk-quotes--cards{grid-template-columns:repeat(3,1fr)}}
.blk-quotes--slider{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-block-end:.5rem}
.blk-quotes--slider > li{flex:0 0 min(88%,340px);scroll-snap-align:start}
.blk-quote-card{display:flex;flex-direction:column;gap:.75rem;padding:1.15rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--sh-1)}
.blk-quote-card blockquote{font-size:.95rem;color:var(--ink-2)}
.blk-quote-card__stars{color:var(--amber);letter-spacing:.1em;font-size:.9rem}
.blk-quote-card__who{display:flex;align-items:center;gap:.6rem;margin-block-start:auto}
.blk-quote-card__avatar{width:38px;height:38px;border-radius:50%;object-fit:cover}
.blk-quote-card__who strong{display:block;font-size:.9rem;color:var(--navy)}
.blk-quote-card__role{display:block;font-size:.78rem;color:var(--muted-2)}

/* ---------- 11. Logo carousel ----------
   Continuous, seamless, right-to-left, no JavaScript.

   Two identical tracks sit side by side and both slide by exactly one track
   width. At the moment the animation restarts, the second track is precisely
   where the first one began, so the eye never sees a seam. The clone is
   aria-hidden so a screen reader announces each brand once.
   ------------------------------------------------------------------------- */
.blk-logos{position:relative;padding-block:.5rem}
.blk-logos__toggle{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.blk-logos__btn{display:inline-flex;align-items:center;gap:.35rem;margin-block-end:.6rem;padding:.3rem .8rem;font-size:.75rem;font-weight:600;color:var(--navy-3);background:var(--surface);border:1px solid var(--border);border-radius:999px;cursor:pointer}
.blk-logos__btn:hover{border-color:var(--orange-line);color:var(--orange-2)}
.blk-logos__toggle:focus-visible + .blk-logos__btn{outline:2px solid var(--orange);outline-offset:2px}
.blk-logos__play{display:none}
.blk-logos__toggle:checked ~ .blk-logos__btn .blk-logos__pause{display:none}
.blk-logos__toggle:checked ~ .blk-logos__btn .blk-logos__play{display:inline}

.blk-logos__viewport{display:flex;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.blk-logos__track{display:flex;flex:0 0 auto;align-items:center;gap:2.5rem;padding-inline-end:2.5rem;animation:blk-marquee 38s linear infinite;will-change:transform}
.blk-logos--slow .blk-logos__track{animation-duration:58s}
.blk-logos--fast .blk-logos__track{animation-duration:24s}
.blk-logos__item{flex:0 0 auto}
.blk-logos__img{height:44px;width:auto;max-width:150px;object-fit:contain;filter:grayscale(1);opacity:.75;transition:filter var(--fast),opacity var(--fast)}
.blk-logos--mono .blk-logos__img:hover{filter:grayscale(0);opacity:1}
.blk-logos:not(.blk-logos--mono) .blk-logos__img{filter:none;opacity:1}

/* Pausing: hover, keyboard focus anywhere inside, and the visible button. */
.blk-logos:hover .blk-logos__track,
.blk-logos:focus-within .blk-logos__track,
.blk-logos__toggle:checked ~ .blk-logos__viewport .blk-logos__track{animation-play-state:paused}

@keyframes blk-marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-100%)}
}

/* A reader who asked for less motion gets a normal scroller instead of a
   moving strip — the same logos, reachable by swipe, nothing animating. */
@media (prefers-reduced-motion:reduce){
  .blk-logos__track{animation:none}
  .blk-logos__viewport{overflow-x:auto;scroll-snap-type:x mandatory}
  .blk-logos__item{scroll-snap-align:start}
  .blk-logos__btn{display:none}
}
@media (max-width:520px){
  .blk-logos__img{height:34px;max-width:110px}
  .blk-logos__track{gap:1.5rem;padding-inline-end:1.5rem}
}

/* ---------- 12. Spacer / divider ---------- */
.blk-spacer--xs{height:.5rem}
.blk-spacer--sm{height:1rem}
.blk-spacer--md{height:2rem}
.blk-spacer--lg{height:3.5rem}
.blk-spacer--xl{height:5.5rem}
.blk-divider{border:0;height:0;border-block-start:1px solid var(--border)}
.blk-divider--dots{border-block-start:0;height:10px;background-image:radial-gradient(circle,var(--border) 1.5px,transparent 1.6px);background-size:12px 12px;background-repeat:repeat-x}
.blk-divider--gradient{border-block-start:0;height:2px;background:linear-gradient(90deg,transparent,var(--orange-line),transparent)}
.blk-divider--sp-sm{margin-block:1rem}
.blk-divider--sp-md{margin-block:2rem}
.blk-divider--sp-lg{margin-block:3.5rem}

/* ---------- 13. Embed ---------- */
.blk-embed{margin:0}
.blk-embed__frame{position:relative;width:100%;border-radius:var(--r);overflow:hidden;background:#000}
.blk-embed__frame::before{content:"";display:block}
.blk-embed__frame--16x9::before{padding-block-start:56.25%}
.blk-embed__frame--4x3::before{padding-block-start:75%}
.blk-embed__frame--1x1::before{padding-block-start:100%}
.blk-embed__frame iframe,
.blk-embed__frame video{position:absolute;inset:0;width:100%;height:100%;border:0}
.blk-embed figcaption{margin-block-start:.55rem;font-size:.85rem;color:var(--muted-2)}

/* ---------- 14. Columns ----------
   `ratio` is one of a closed list; each value maps to a fixed fr template.
   Nothing about the grid can be influenced by stored text.
   ------------------------------------------------------------------------- */
.blk-cols{display:grid;grid-template-columns:1fr;align-items:start}
.blk-cols--gap-sm{gap:.75rem}
.blk-cols--gap-md{gap:1.25rem}
.blk-cols--gap-lg{gap:2rem}
/* 44px is the gutter the hand-written pages use on their two-column bands
   (`.grid` + inline `gap:44px`); without it a migrated band reads tighter than
   the page it replaced. */
.blk-cols--gap-xl{gap:2.75rem}

@media (min-width:720px){
  .blk-cols--c2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .blk-cols--c2.blk-cols--r-70-30{grid-template-columns:7fr 3fr}
  .blk-cols--c2.blk-cols--r-75-25{grid-template-columns:3fr 1fr}
  .blk-cols--c2.blk-cols--r-60-40{grid-template-columns:6fr 4fr}
  .blk-cols--c2.blk-cols--r-30-70{grid-template-columns:3fr 7fr}
  .blk-cols--c2.blk-cols--r-25-75{grid-template-columns:1fr 3fr}
  .blk-cols--c2.blk-cols--r-40-60{grid-template-columns:4fr 6fr}
}
/* Three columns only split once there is genuinely room; between 720 and 900
   the stack is the honest layout, not three 200px slivers. */
@media (min-width:900px){
  .blk-cols--c3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .blk-cols--c3.blk-cols--r-50-25-25{grid-template-columns:2fr 1fr 1fr}
  .blk-cols--c3.blk-cols--r-25-50-25{grid-template-columns:1fr 2fr 1fr}
  .blk-cols--c3.blk-cols--r-25-25-50{grid-template-columns:1fr 1fr 2fr}
  .blk-cols--c4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
/* `stackAt: tablet` collapses earlier, at the tablet breakpoint. */
@media (min-width:720px) and (max-width:1023px){
  .blk-cols--stack-tablet.blk-cols--c3,
  .blk-cols--stack-tablet.blk-cols--c4{grid-template-columns:1fr}
}
.blk-col{min-width:0}

/* ---------- 15. Contact ---------- */
.blk-contact__grid{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media (min-width:900px){
  .blk-contact__grid--form{grid-template-columns:1fr 1.15fr;align-items:start}
}
.blk-contact__grid .info-list{display:flex;flex-direction:column;gap:.85rem}
.blk-contact__grid .info-list li{display:flex;align-items:flex-start;gap:.6rem;font-size:.92rem}
.blk-contact__grid .info-list svg{width:18px;height:18px;flex:0 0 auto;color:var(--orange-2);margin-block-start:.25rem}
/* The repair form stands in a column beside the copy, so its title is a column
   title (left-aligned, slightly smaller) and not a centred section header. */
.blk-contact__head{margin-block-end:1.1rem}
.blk-contact__head h2{font-size:1.3rem;margin-block-end:.5rem}
.blk-contact__head p{font-size:.88rem;color:var(--muted);line-height:1.9;margin:0}

/* ---------- 16. Preview shell ---------- */
/* The preview is the real page, framed by the panel. It keeps the site header
   and footer on purpose: judging a block layout against a bare white page is
   how a design that looks fine in the editor looks wrong on the site. */
.blk-preview .blk-page{padding-block:1.25rem}
.blk-preview .site-header{position:static}

/* The frame runs without scripts, so the `.is-in` class main.js adds to a
   `.reveal` element never arrives and anything animated would sit at opacity 0
   — a preview of a page that is half missing. Show the finished state. */
.blk-preview .reveal{opacity:1;transform:none}

/* --------------------------------------------------------------------------
   Editor affordances — preview only
   --------------------------------------------------------------------------
   The panel's canvas is the real preview, so the highlight a block gets when
   it is selected has to live here rather than in the panel's stylesheet: the
   frame cannot run script and cannot receive inline styles (the preview is
   served under style-src 'self'). Every rule below is scoped to
   `body.blk-preview`, a class only the preview document carries, so none of it
   can reach a published page.
   -------------------------------------------------------------------------- */
body.blk-preview [data-blk]{cursor:pointer}
body.blk-preview [data-blk].is-blk-sel{
  outline:2px solid #ff6b1a;
  outline-offset:-2px;
}
body.blk-preview [data-blk].is-blk-dragging{opacity:.45}
body.blk-preview [data-blk].is-blk-before{box-shadow:inset 0 4px 0 0 #ff6b1a}
body.blk-preview [data-blk].is-blk-after{box-shadow:inset 0 -4px 0 0 #ff6b1a}
body.blk-preview [data-blk].is-blk-inside{outline:2px dashed #ff6b1a;outline-offset:-6px}

/* --------------------------------------------------------------------------
   Collection: products  (block type `productCollection`)

   The grid is classes, never inline styles: both the panel's CSP and the
   site's forbid a `style=` attribute, so a per-block column count has to be a
   token the renderer turns into a class name. `.prod-grid` is auto-fill, which
   is right for the catalogue page but cannot express "exactly three"; these
   rules override it (same specificity, later file) and leave its gap alone.
   -------------------------------------------------------------------------- */
.blk-prod{grid-template-columns:repeat(3,minmax(0,1fr))}
.blk-prod--d2{grid-template-columns:repeat(2,minmax(0,1fr))}
.blk-prod--d4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* A quieter card for a band that sits next to real content: the frame goes,
   the photo keeps its own border, and hover stops lifting the whole card. */
.blk-prod--flat .prod{background:transparent;border-color:transparent}
.blk-prod--flat .prod:hover{transform:none;box-shadow:none;border-color:transparent}

@media (max-width:1024px){
  .blk-prod,
  .blk-prod--d2,
  .blk-prod--d4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .blk-prod--t3{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:640px){
  .blk-prod,
  .blk-prod--d2,
  .blk-prod--d3,
  .blk-prod--d4{grid-template-columns:1fr}
  .blk-prod--m2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
