/* MattoBoard feature pages v0.2
   Composition follows the Programa feature pages; identity is MattoBoard with Inter throughout.
   Monochrome: black text, white backgrounds, neutral greys, black primary buttons. All colours are tokens. */

:root {
  --bg: #FFFFFF;
  --grey: #F7F7F7;
  --grey-2: #EFEFEF;
  --ink: #141414;
  --ink-2: #3D3D3D;
  --muted: #6B6B6B;
  --line: #E6E6E6;
  --line-2: #D4D4D4;
  --btn-bg: #141414;
  --btn-fg: #FFFFFF;
  --btn-hover: #333333;
  --ph-bg: #F3F3F3;
  --ph-stripe: rgba(0,0,0,.035);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);
  --hdr-h: 49px;   /* + the 1px border = the app bar's 50px */

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--hdr-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 12px; }
.icon { width: 20px; height: 20px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 8px; font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--secondary { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--sm { height: 34px; padding: 0 12px; font-size: 14px; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; padding-top: env(safe-area-inset-top, 0px); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.hdr { height: var(--hdr-h); max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hdr > .menu { grid-column: 2; }
.hdr { max-width: none; padding-inline: 16px; } .site-header { border-bottom-color: #d0d0d0; }
.hdr__logo { justify-self: stretch; align-self: stretch; display: flex; align-items: center; }   /* the whole left column links home */ .hdr__logo img { display: block; height: 28px; width: auto; }
.hdr > .hdr__actions { grid-column: 3; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); justify-self: start; }
.logo__mark { width: 24px; height: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.logo__mark i { display: block; background: var(--ink); border-radius: 50%; }
.logo__mark i:nth-child(2) { border-radius: 2px; }
.logo__mark i:nth-child(3) { border-radius: 2px 50% 50% 50%; }
.logo__word { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.menu__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu__item { position: relative; }
.menu__split { display: inline-flex; align-items: center; }
.menu__link, .menu__btn, .menu__toggle { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; background: none; border: 0; border-radius: 6px; font: 400 16px/1 var(--font); color: var(--ink); text-decoration: none; cursor: pointer; }
.menu__split .menu__link { padding-right: 2px; }
.menu__toggle { padding: 0 6px 0 2px; }
.menu__link:hover, .menu__btn:hover, .menu__toggle:hover { background: var(--grey); }
.menu__btn[aria-expanded="true"], .menu__split:has(.menu__toggle[aria-expanded="true"]) { background: var(--grey); border-radius: 6px; }
.menu__split:has(.menu__toggle[aria-expanded="true"]) .menu__link:hover, .menu__split:has(.menu__toggle[aria-expanded="true"]) .menu__toggle:hover { background: none; }
.chev { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }
.hdr__actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.hdr__signin { font-size: 15px; color: var(--ink); text-decoration: none; }
.hdr__signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.burger { display: none; width: 38px; height: 38px; border: 0; background: none; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; border-radius: 6px; }

/* dropdown panels: compact, list only */
.hdr { position: relative; }
.menu__item--features, .menu__item--centred { position: static; }
.panel { position: absolute; top: calc(100% + 6px); left: -8px; width: max-content; max-width: calc(100vw - 32px); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.08); padding: 6px; }
.panel--features, .panel--centred { top: calc(var(--hdr-h) - 6px); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); }
@media (min-width: 1001px) { .panel--features .mi__sub, .panel--centred .mi__sub { white-space: nowrap; max-width: none; } }
.panel__label { padding: 12px 10px 4px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mi-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.mi-list--two { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 4px; }
.mi { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
a.mi:hover, a.mi:focus-visible { background: var(--grey); }
.mi__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink-2); }
.mi__icon .icon { width: 18px; height: 18px; }
.mi__text { display: grid; gap: 1px; min-width: 0; }
.mi__title { font-size: 15px; font-weight: 500; line-height: 1.3; display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.mi__sub { font-size: 13.5px; line-height: 1.35; color: var(--muted); max-width: 42ch; }
.panel:not(.panel--features) .mi__sub { max-width: 52ch; }
.mi__soon { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.mi--soon { cursor: default; }
/* the one colour exception: "New" badge in brand purple */
.badge-new { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: .01em; color: #fff; background: #5B47F5; padding: 4px 7px; border-radius: 999px; vertical-align: middle; }
.ovr__title .badge-new { margin-left: 10px; position: relative; top: -4px; }

/* mobile menu */
.mobile-menu { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + var(--hdr-h)) 0 0; background: var(--bg); overflow-y: auto; padding: 8px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px); border-top: 1px solid var(--line); }
.mm { max-width: 560px; margin: 0 auto; }
.mm__group { border-bottom: 1px solid var(--line); }
.mm__row { display: flex; align-items: center; justify-content: space-between; }
.mm__link, .mm__btn { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 500 18px/1.2 var(--font); color: var(--ink); background: none; border: 0; text-decoration: none; cursor: pointer; text-align: left; }
.mm__toggle { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-left: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.mm .mi-list { padding: 0 0 12px; }
.mm .mi { padding: 8px 0; }
.mm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.mm__actions .btn { height: 44px; }

/* type */
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow--left { text-align: left; }
.shead { text-align: center; max-width: 760px; margin: 0 auto; }
.stitle { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.stitle--left { text-align: left; }
.ssub { margin: 16px auto 0; max-width: 540px; color: var(--muted); font-size: 18px; text-wrap: pretty; }

/* placeholders */
.media { width: 100%; height: auto; }
.ph { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; text-align: center; color: var(--muted); background: repeating-linear-gradient(135deg, var(--ph-stripe) 0 1px, transparent 1px 14px), var(--ph-bg); }
.ph__tag { font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 5px 8px; border-radius: 6px; letter-spacing: .01em; }
.ph--hero-ui .ph__tag { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.ph__label { font-size: 14px; color: var(--ink-2); max-width: 44ch; line-height: 1.45; }
.ph__file { font-size: 12px; color: var(--muted); word-break: break-all; max-width: 52ch; }
.ph__play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); }
.ph__play .icon { width: 18px; height: 18px; }
.ph--portrait { padding: 0; }
.ph--portrait .ph__tag { font-size: 9px; padding: 2px 3px; border: 0; background: transparent; }

/* video slot: 16:9 frame; portrait (9:16) assets sit centred inside it, uncropped */
.vslot { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--grey-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vslot > .media, .vslot > .ph { width: 100%; height: 100%; object-fit: contain; }
.vslot--portrait > .media, .vslot--portrait > .ph { width: auto; height: 100%; max-width: 100%; aspect-ratio: 9 / 16; }
.vslot--portrait > .ph .ph__label, .vslot--portrait > .ph .ph__file { display: none; }

/* portrait reels (feature pages): own ratio, comfortable desktop size, never cropped */
.vportrait { width: min(100%, 340px); margin-inline: auto; }
.vportrait > .ph, .vportrait > .media { width: 100%; height: auto; border-radius: 14px; }
.vportrait > .media { object-fit: contain; background: var(--grey-2); }
.row--portrait { grid-template-columns: 1fr 1fr; }
.row--portrait .row__media { border: 0; background: none; border-radius: 0; overflow: visible; }
.row--portrait .vportrait > .ph { border: 1px solid var(--line); }
.row--portrait .row__media > img.media { max-width: 400px; margin-inline: auto; display: block; }   /* portrait still images sit at a comfortable size */

/* hero */
.hero { padding: clamp(22px, 3.2vw, 38px) 0 0; }
.hero[aria-labelledby="hero-title-edit-images"], .hero[aria-labelledby="hero-title-sketchup"], .hero[aria-labelledby="hero-title-3d-material-boards"], .hero[aria-labelledby="hero-title-collections-libraries"], .hero[aria-labelledby="hero-title-teams"] { padding-bottom: clamp(48px, 6vw, 88px); }   /* breathing room before the grey section */
.hero--short { padding-bottom: var(--section-y); }
.hero__copy { text-align: center; }
.hero__title { margin: 18px auto 0; max-width: 820px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.hero__intro { margin: 18px auto 0; max-width: 520px; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.hero__frame { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 1080px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 16px 40px rgba(0,0,0,.06); }

/* hero artwork that carries its own composition: no extra frame */
.hero__frame--bare { border: 0; box-shadow: none; background: none; border-radius: 0; overflow: visible; max-width: 1200px; }
.hero__frame--bare > .media { width: 100%; height: auto; display: block; }

/* feature pages with floats: section backgrounds paint below the float layer, section content above it */
.opage--feature > section:not(.final) { position: static; z-index: auto; }
.opage--feature > section:not(.final) > .wrap { position: relative; z-index: 2; }
.opage--feature > .bgf-layer { z-index: 1; }

/* larger hero artwork: wider than the text column, centred, never wider than the screen */
.hero__frame--large { max-width: none; width: min(1200px, calc(100vw - 24px)); position: relative; left: 50%; transform: translateX(-50%); margin-top: 4px; }   /* the artwork has its own transparent headroom */

/* compact list of points inside a feature row (e.g. four ways to add products) */
.points { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.points__t { font-size: 16px; font-weight: 600; }
.points__d { margin-top: 4px; font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* optional section-level image under a section heading: keeps the file's own ratio */
.rows__lead { max-width: 1080px; margin-inline: auto; border-radius: 14px; overflow: hidden; }
.rows__lead + .rows { margin-top: clamp(48px, 6vw, 72px); }
.rows__lead > .ph { border: 1px solid var(--line); border-radius: 14px; }
.rows__lead > .media { display: block; width: 100%; height: auto; }

/* centred, stacked feature rows: copy on top, optional row of points, large media centred below */
.rows > .row.row--stacked { display: block; text-align: center; }
.row--stacked .row__copy { max-width: 720px; margin-inline: auto; }
.row--stacked .row__title { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.025em; }
.row--stacked .row__text { max-width: 62ch; margin-inline: auto; }
.rows > .row--stacked .row__media { max-width: 1080px; margin: clamp(32px, 4vw, 48px) auto 0; }
.row--stacked .points--row { margin: clamp(28px, 3vw, 40px) auto 0; max-width: 1200px; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 20px; text-align: left; }
@media (max-width: 1000px) { .row--stacked .points--row { grid-template-columns: repeat(3, 1fr); } .row--stacked .points--row[style*="--n:4"] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .row--stacked .points--row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .row--stacked .points--row { grid-template-columns: 1fr; } }
.row__text + .row__text { margin-top: 12px; }
/* five options and the image below share one width */
.rows > .row--wide .row__media, .row--wide .points--row { max-width: none; width: 100%; }
/* wider than the text column (up to 1320px), centred, still never wider than the screen */
.rows > .row--wide .points--row, .rows > .row--wide .row__media { width: min(1320px, calc(100vw - 48px)); max-width: none; margin-left: calc(50% - min(660px, 50vw - 24px)); margin-right: 0; }
/* Financials: larger portrait image, closer to its text */
.rows > .row--portrait { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.rows > .row--portrait .row__media { justify-self: start; }
.rows > .row--flip.row--portrait .row__media { justify-self: end; }
.row--portrait .row__media > img.media { max-width: var(--media-max, 520px); margin-inline: 0; }
/* two next-step points (no media): centred pair */
.points--row:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 24px 48px; }
.points__link { display: inline-block; margin-top: 10px; font-size: 15px; }
/* next-step columns with an image above each */
.row--stacked .points--row.points--media, .row--stacked .points--row.points--media:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); max-width: 1120px; gap: 32px clamp(28px, 4vw, 56px); }
.points__img { margin-bottom: 20px; }
.points__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.points__tag { font-size: 13px; font-weight: 500; color: #8C38FF; margin-left: 6px; letter-spacing: 0; }
.points__note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.points__note svg { flex: none; }
.points__img--rounded img { border-radius: 2.4% / 3.6%; }   /* same corner radius as the edit screenshot beside it, scaling with the image */
.row--stacked .points--row.points--media { margin-top: 0; }   /* a little closer to the section heading */
.points__img .media, .points__img img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .row--stacked .points--row.points--media, .row--stacked .points--row.points--media:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .points--row:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr; } }
/* customer testimonial (exact wording) */
.pquote { max-width: 760px; margin: clamp(72px, 8vw, 112px) auto 0; text-align: center; }   /* clear separation from the benefit columns */
.pquote blockquote { margin: 0; }
.pquote blockquote p { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.pquote figcaption { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); }
.pquote figcaption strong { color: var(--ink); font-weight: 600; }
/* attribution with a circular logo/portrait, same treatment as the testimonial beside the video */
.pquote figcaption.pquote__cap--avatar { flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
.pquote__cap--avatar .mquote__who { display: flex; flex-direction: column; gap: 2px; text-align: left; font-size: 14px; }
.pquote__cap--avatar .mquote__who strong { font-size: 15px; }
/* attributed customer experience panel */
.story { max-width: 760px; margin: clamp(36px, 4vw, 56px) auto 0; padding: clamp(36px, 4.5vw, 56px) clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: var(--bg); text-align: left; }
.story__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.story__text { margin: 12px 0 0; }
.story__text p { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink); }
.story__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
/* media galleries: one shared height per row, widths follow each file's ratio (never cropped) */
.gallery { width: min(1320px, calc(100vw - 48px)); margin: clamp(32px, 4vw, 48px) 0 0 calc(50% - min(660px, 50vw - 24px)); display: grid; gap: clamp(14px, 1.6vw, 22px); }
.gallery__row { display: flex; gap: clamp(14px, 1.6vw, 22px); align-items: flex-start; }
.gallery__item { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }
.gallery__item > .media, .gallery__item > .ph, .gallery__item video, .gallery__item img { display: block; width: 100%; height: 100%; }
.gallery__item > .ph { border: 0; border-radius: 0; aspect-ratio: auto; }
.gallery__item--bare { border: 0; background: none; border-radius: 0; overflow: visible; }
@media (max-width: 640px) { .gallery__row { flex-wrap: wrap; } .gallery__item { flex-basis: 100%; } }
/* square hero artwork: centred at a moderate size */
.hero__frame--square { max-width: min(640px, 100%); margin-inline: auto; }
.hero__frame--medium { max-width: min(960px, 100%); margin-inline: auto; }
.hero__frame picture.media, .hero__frame picture.media img { display: block; width: 100%; height: auto; }
.rows__lead--square { max-width: min(640px, 100%); }
/* prominent wide image under a section heading: wider than the text column, centred */
.shead + .rows__lead--wide { margin-top: clamp(28px, 3.5vw, 44px); }
.rows__lead--wide + .rows { margin-top: clamp(16px, 2vw, 28px); }
.rows__lead--wide { max-width: none; width: min(1320px, calc(100vw - 48px)); margin-left: calc(50% - min(660px, 50vw - 24px)); }
.rows__lead picture.media, .rows__lead picture img { display: block; width: 100%; height: auto; }
/* YouTube section */
.ytwrap { max-width: 1080px; margin-inline: auto; }
/* heading-and-intro-only section: a little tighter */
.section--textonly { padding-block: clamp(56px, 6vw, 88px); }
.section.section--tight-top { padding-top: clamp(24px, 3vw, 44px); }   /* closer to the white section above */
/* two media side by side under a section heading: one shared height, widths follow each file's ratio */
.shead + .rows__pair { margin-top: clamp(24px, 3vw, 36px); }
.rows__pair { max-width: 1080px; margin-inline: auto; display: flex; gap: clamp(16px, 2vw, 28px); align-items: flex-start; }
.rows__pair-item { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.rows__pair-item > .media, .rows__pair-item video, .rows__pair-item img { display: block; width: 100%; height: 100%; }
.rows__pair-item--bare { border: 0; border-radius: 0; background: none; overflow: visible; }
@media (max-width: 640px) { .rows__pair { flex-direction: column; align-items: center; } .rows__pair-item { width: 100%; flex: none; } .rows__pair-item:not(.rows__pair-item--bare) { max-width: 360px; } }
/* portrait video beside text: video at a comfortable size, close to its copy */
.rows > .row--portrait { align-items: center; }
.row--portrait .row__media > video.media { width: 100%; max-width: 380px; height: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: block; }
.rows > .row--portrait.row--flip .row__media { justify-self: end; }
.rows > .row--portrait:not(.row--flip) .row__media { justify-self: start; }
@media (max-width: 860px) { .rows > .row--portrait { grid-template-columns: 1fr; } .rows > .row--portrait .row__copy { order: 0; } .rows > .row--portrait .row__media { justify-self: center !important; width: 100%; max-width: 340px; } .row--portrait .row__media > video.media { max-width: 340px; } }
/* galleries: animated images and videos fill their frames at their own ratio */
.gallery__item picture, .gallery__item picture img { display: block; width: 100%; height: 100%; }
/* section heading + text on the left, a prominent portrait video on the right */
.sec-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1080px; margin-inline: auto; }
.sec-split__copy { text-align: left; }
.sec-split__copy .stitle { margin: 0; }
.sec-split__copy .ssub { margin: 16px 0 0; max-width: 46ch; }
.sec-split__media { justify-self: center; width: 100%; max-width: 400px; }
/* compact quote under the section text */
.mquote { margin: clamp(32px, 4vw, 48px) 0 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--ink); max-width: 46ch; }
.mquote blockquote { margin: 0; }
.mquote blockquote p { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.mquote figcaption { margin-top: 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.mquote__who { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.mquote__who strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.mquote__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08); }
.mquote__avatar--ph { display: inline-flex; align-items: center; justify-content: center; background: var(--grey-2, #e9e9e9); color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
/* desktop: spread the left column over the video's height, intro at the top, testimonial at the bottom */
@media (min-width: 861px) {
  .sec-split { align-items: stretch; }
  .sec-split__copy { display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(8px, 2vw, 32px); }
  .sec-split__copy .mquote { margin-top: 48px; }
  .sec-split__media { align-self: center; }
}
.sec-split__media > video.media { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 860px) { .sec-split { grid-template-columns: 1fr; } .sec-split__copy { text-align: center; } .sec-split__copy .ssub { margin-inline: auto; } .sec-split__media { max-width: 360px; } .mquote { margin-inline: auto; border-left: 0; padding-left: 0; } .mquote figcaption { justify-content: center; } }
/* step rows: balanced two columns, media proportions kept */
.rows > .row--step { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.rows > .row--step.row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rows > .row--step.row--flip .row__copy { order: 2; }
.rows > .row--step:not(.row--flip) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.row--step .row__media > .media, .row--step .row__media picture.media, .row--step .row__media picture img, .row--step .row__media video { display: block; width: 100%; height: auto; }
/* step rows: a little more space between rows (spacing inside each row unchanged) */
.rows.rows--steps { gap: clamp(88px, 9vw, 128px); }
.rows.rows--steps > .row--tight-top { margin-top: clamp(-40px, -3vw, -16px); }   /* a slightly smaller gap above this row */
/* step rows: slightly larger headings and text, same hierarchy */
.row--step .row__title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.row--step .row__text { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; }
.row--step .row__title + .row__text { margin-top: 14px; }
/* two media together in one column: shared height, widths follow each file's ratio */
.row__media--pair { border: 0 !important; background: none !important; border-radius: 0 !important; overflow: visible !important; }
.mpair { display: flex; gap: clamp(12px, 1.4vw, 18px); align-items: flex-start; }
.mpair__item { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.mpair__item > .media, .mpair__item video, .mpair__item img, .mpair__item picture { display: block; width: 100%; height: 100%; }
.mpair__item--bare { border: 0; border-radius: 0; background: none; overflow: visible; }
@media (max-width: 560px) { .mpair { flex-direction: column; align-items: center; } .mpair__item { flex: none; width: 100%; max-width: 340px; } }
.mpair__item--hairline { border: 1px solid #ededed; border-radius: 6px; }   /* barely-visible edge */
@media (max-width: 860px) {
  .rows > .row--step, .rows > .row--step.row--flip, .rows > .row--step:not(.row--flip) { grid-template-columns: 1fr; }
  .rows > .row--step .row__copy { order: 0 !important; }
}
/* transparent artwork: no frame, background or border */
.row__media--bare, .rows__lead--bare { border: 0 !important; background: none !important; border-radius: 0 !important; overflow: visible !important; }
.row__media--bare > .media, .rows__lead--bare > .media { display: block; width: 100%; height: auto; }

/* sections */
.section { padding-block: var(--section-y); }
.section--grey { background: var(--grey); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.shead + * { margin-top: clamp(40px, 5vw, 64px); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card__media { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cards--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards--4 .card__title { font-size: 18px; }
.cards--4 .card__text { font-size: 15px; }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: 1fr; } }
.card__title { margin-top: 20px; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.card__text { margin-top: 6px; color: var(--muted); font-size: 16px; max-width: 38ch; }

.rows { display: grid; gap: clamp(40px, 6vw, 72px); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.row--flip { grid-template-columns: 7fr 5fr; }
.row--flip .row__copy { order: 2; }
.row__title { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.row__text { margin-top: 10px; color: var(--muted); max-width: 44ch; }
.row__note { margin-top: 14px; display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.row .tlink { margin-top: 16px; }
.row__media { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }

.pill { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--btn-fg); background: var(--btn-bg); padding: 3px 8px; border-radius: 999px; }
.tlink { display: inline-flex; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.tlink:hover { text-decoration-color: var(--ink); }

/* testimonials (compact) */
.tfeat { max-width: 860px; margin: 0 auto; text-align: center; }
.tfeat blockquote p { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; text-wrap: balance; }
.person { margin-top: 22px; display: inline-flex; gap: 12px; align-items: center; text-align: left; }
.person__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; }
.person__name { display: block; font-weight: 500; font-size: 15px; }
.person__meta { display: block; color: var(--muted); font-size: 14px; }
.tlist { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tsmall { height: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.tsmall blockquote p { font-size: 17px; }
.person--sm { margin-top: 18px; }
.person--sm .person__avatar { width: 36px; height: 36px; }

/* connect accordion (numbered rows + visual area) */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 36px); }
.acc { border-top: 1px solid var(--line); }
.connect__list .acc:first-child { border-top: 0; }
.acc__h { font-size: inherit; font-weight: inherit; }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 2px; background: none; border: 0; text-align: left; color: var(--ink); cursor: pointer; font: 500 19px/1.3 var(--font); letter-spacing: -0.01em; }
.acc__n { font-size: 13px; font-weight: 500; color: var(--muted); width: 22px; font-variant-numeric: tabular-nums; }
.acc__btn[aria-expanded="true"] .acc__n { color: var(--ink); }
.acc__t { flex: 1; }
.acc__icon { color: var(--muted); transition: transform .2s; }
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(45deg); color: var(--ink); }
.acc__panel { padding: 0 2px 20px 38px; color: var(--muted); font-size: 16px; }
.acc__links { margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.acc__media { display: none; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.connect { align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 3.5vw, 48px); }
.connect__media { display: flex; align-items: center; justify-content: center; min-height: 100%; padding: 0; }
.frame { display: none; }
.frame.is-active { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; animation: frame-in .3s ease; }
.frame > .media { display: block; width: auto; height: auto; max-width: 100%; max-height: min(100%, 620px); object-fit: contain; }
.frame > .ph { height: auto; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 12px; }
@keyframes frame-in { from { opacity: 0; } to { opacity: 1; } }
.acc__media { border: 0; border-radius: 0; }
.acc__media .media { width: 100%; height: auto; display: block; }

/* overview rows */
.ovr { display: grid; gap: clamp(56px, 8vw, 104px); }
.ovr__row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ovr__row--flip { grid-template-columns: 7fr 5fr; }
.ovr__row--flip .ovr__copy { order: 2; }
.ovr__title { margin-top: 10px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; } /* matches section headings (.stitle) */
.ovr__title a { text-decoration: none; }
.ovr__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ovr__text { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 46ch; text-wrap: pretty; } /* matches section subtitles (.ssub) */
.ovr__ctas { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 480px) { .ovr__ctas { flex-direction: column; } .ovr__ctas .btn { width: 100%; } }
.ovr__media { width: 100%; }
.ovr__media .ph--graphic { border-radius: 6px; }
.ovr__media img.media { width: 100%; height: auto; display: block; }
.split__visual .media--deco, .split__visual img.media { width: 100%; height: auto; display: block; }

/* overview split hero (homepage composition) */
.hero--split { padding-bottom: 0; }
.split__cta .btn { height: 48px; padding: 0 24px; font-size: 16px; }
.hero--split > .wrap { max-width: 1400px; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.split__copy { text-align: center; }
.split__copy .hero__title { margin: 0 auto; max-width: 560px; }
.split__copy .hero__intro { max-width: 500px; margin-left: auto; margin-right: auto; }
.split__visual .ph { border-radius: 14px; }
.split__cta .cta-row { justify-content: center; }   /* CTA sits under the text, centred in the text column */
.split__cta .cta-row { margin-top: 28px; }

/* overview: press row, intro, YouTube */
.press { padding-top: clamp(40px, 5vw, 64px); }
.press__list { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 24px; max-width: 960px; margin: 0 auto; }
.press__item { display: flex; align-items: center; justify-content: center; height: 48px; text-decoration: none; opacity: .55; filter: grayscale(1); transition: opacity .15s; }
.press__item:hover { opacity: .85; }
.press__item img { max-height: 32px; max-width: 160px; width: auto; height: auto; mix-blend-mode: multiply; }
.press__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; }
.ointro { padding-top: clamp(64px, 8vw, 104px); }
.ssub--wide { max-width: 640px; }
/* heading only (no video): tighter spacing above and into the feature list */
.ointro--compact { padding-top: clamp(56px, 6vw, 80px); }
.ointro--compact .shead, .ointro--compact .stitle { max-width: 920px; }   /* lets the intro heading sit on one line on desktop */
.ointro--compact + .section { padding-top: clamp(40px, 5vw, 64px); }
/* small grey arrow leading from the intro into the feature list */
.ointro__arrow { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; color: #B8B8B8; cursor: pointer; animation: arrow-nudge 2.4s ease-in-out infinite; transition: color .2s ease, background-color .2s ease; }
.ointro__arrow:hover, .ointro__arrow:focus-visible { animation-play-state: paused; }
.ointro__arrow:hover { color: var(--ink); background: var(--grey); }
.ointro__arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; color: var(--ink); }
.ovr__row { scroll-margin-top: calc(var(--hdr-h) + 24px); }   /* lands below the sticky navigation */
@keyframes arrow-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .ointro__arrow { animation: none; } }
.mark { font-size: .45em; vertical-align: super; line-height: 0; margin-left: .04em; }
.ointro__video { max-width: 960px; margin: clamp(32px, 4vw, 48px) auto 0; }
.ovid { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.ovid .vslot { background: #fff; }
.yt { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--grey-2); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; background: repeating-linear-gradient(135deg, var(--ph-stripe) 0 1px, transparent 1px 14px), var(--ph-bg); }
.yt__play { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.yt--link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-decoration: none; color: var(--ink); background: radial-gradient(70% 70% at 50% 45%, var(--bg) 0%, var(--grey-2) 100%); }
.yt--link:hover .yt__play { transform: scale(1.06); }
.yt__play { transition: transform .2s; }
.yt__cta { font-size: 15px; font-weight: 500; }
.yt__play .icon { width: 26px; height: 26px; fill: currentColor; }

/* full-width showcase video (overview) */
.showcase { width: 100%; overflow: hidden; background: #fff; }
.showcase .media--deco { display: block; width: 100%; height: auto; }

/* testimonial carousel (overview) */
.tsec { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 88px); }
.showcase + .tsec { position: relative; padding-top: 0; margin-top: -8vw; } /* heading sits in the empty arc under the cards */
@media (max-width: 760px) { .showcase + .tsec { margin-top: 0; padding-top: 24px; } }
.tsec .stitle { margin-top: 12px; }
.carousel { margin-top: clamp(36px, 4vw, 52px); --gap: 24px; --per: 3.18; }
.carousel__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0; padding: 2px 0 4px; list-style: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.tc { flex: 0 0 calc((100% - var(--gap) * 3) / var(--per)); scroll-snap-align: start; display: flex; }
.tc__fig { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px 30px; }
.tc__quote p { font-size: 19px; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); }
.tc__who { display: flex; gap: 14px; align-items: center; }
.tc__avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; background: var(--grey-2); display: grid; place-items: center; }
.tc__avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.tc__avatar--logo { background: #2A2A2A; }
.tc__initials { font-size: 15px; font-weight: 600; color: var(--muted); }
.tc__avatar--logo .tc__initials { color: #fff; }
.tc__name { display: block; font-weight: 600; font-size: 16px; }
.tc__role { display: block; color: var(--muted); font-size: 14.5px; }
.tc__meta { margin-top: 16px; color: var(--muted); font-size: 14px; }
.carousel__nav { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.carousel__range { min-width: 64px; text-align: center; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.cbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); transition: background-color .15s, opacity .15s; }
.cbtn--next { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.cbtn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1000px) { .carousel { --per: 2.15; } .tc { flex-basis: calc((100% - var(--gap)) / var(--per)); } }
@media (max-width: 640px) { .carousel { --gap: 14px; } .tc { flex-basis: 88%; } .tc__fig { padding: 26px 22px; } .tc__quote p { font-size: 17px; } }

/* hero visual: one gentle, slow float for the whole image (a single flattened PNG, so no per-card motion) */
.split__visual--float > .media { animation: hero-float 9s ease-in-out infinite; transform-origin: 50% 60%; will-change: transform; }
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-.6deg); }
}
@media (prefers-reduced-motion: reduce) { .split__visual--float > .media { animation: none; } }

/* final CTA: a few floating material cards, some drifting behind the copy for depth */
.final { position: relative; overflow: hidden; border-top: 1px solid var(--line); min-height: 520px; display: grid; place-items: center; padding: 64px var(--gutter); isolation: isolate; }
.final__copy { position: relative; z-index: 3; text-align: center; max-width: 560px; padding: 16px; }
.final__copy::before { content: ""; position: absolute; inset: -24px -40px; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 82%, transparent) 55%, transparent); }
.final__title { margin-top: 14px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.final__cards { position: absolute; inset: 0; pointer-events: none; }
.fc { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translate(-50%, -50%) rotate(var(--r)); }
.fc--front { z-index: 2; }
.fc--back { z-index: 1; opacity: .8; }
.fc__inner { border-radius: 9px; overflow: hidden; background: #F4F4F4; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 24px rgba(0,0,0,.08); animation: fc-drift var(--d) ease-in-out var(--delay) infinite; will-change: transform; }
.fc--back .fc__inner { box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 14px rgba(0,0,0,.05); }
.fc__inner img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 7; }
/* each card follows its own loop: amplitude and timing come from per-card variables */
@keyframes fc-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(var(--ax), calc(var(--ay) * -1)) rotate(var(--ar)); }
  50% { transform: translate(calc(var(--ax) * .4), var(--ay)) rotate(calc(var(--ar) * -.5)); }
  75% { transform: translate(calc(var(--ax) * -.7), calc(var(--ay) * .3)) rotate(calc(var(--ar) * -1)); }
}
@media (max-width: 760px) {
  .final { min-height: 560px; padding-block: 150px; }
  .fc { display: none; }
  .fc--m { display: block; left: var(--mx); top: var(--my); width: var(--mw); }
}

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 calc(env(safe-area-inset-bottom, 0px) + 28px); }
.ftop { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; align-items: start; }
.fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fcol__title { font-size: 14px; font-weight: 500; }
.fcol ul { margin-top: 12px; display: grid; gap: 9px; }
.fcol a { color: var(--muted); font-size: 14px; text-decoration: none; }
.fcol a:hover { color: var(--ink); }
.fbottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.fsocial { display: flex; gap: 18px; }
.fsocial a { color: var(--muted); text-decoration: none; }

/* responsive */
@media (max-width: 1000px) {
  .hdr { grid-template-columns: 1fr auto; }
  .hdr > .hdr__actions { grid-column: 2; }
  .menu, .hdr__signin { display: none; }
  .burger { display: inline-flex; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .row, .ovr__row, .row--flip, .ovr__row--flip, .row--portrait { grid-template-columns: 1fr; }
  .vportrait { width: min(100%, 300px); }
  .row--flip .row__copy, .ovr__row--flip .ovr__copy { order: 0; }
  .tlist { grid-template-columns: 1fr; }
  .connect { grid-template-columns: 1fr; }
  .connect__media { display: none; }
  .acc__media { display: block; }
  .split { grid-template-columns: 1fr; }
  .split__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .ftop { grid-template-columns: 1fr; }
  .fcols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .press__list { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ph__label { font-size: 12.5px; }
  .acc__panel { padding-left: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .frame.is-active { animation: none; }
  .fc__inner { animation: none !important; }
}

/* ================================================================ Product Library */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap--wide { max-width: 1440px; }

/* Materials & Products */
.lib { max-width: 1440px; margin: 0 auto; padding: 16px var(--gutter) 72px; }
.lib__bar { display: flex; gap: 12px; align-items: stretch; }
.lib__search { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; background: var(--grey); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.lib__search input { flex: 1; border: 0; background: none; font: 400 17px var(--font); color: var(--ink); outline: none; min-width: 0; }
.lib__search:focus-within { border-color: var(--ink); }
.lib__drop { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--bg); font: 400 15px var(--font); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.lib__drop:hover { border-color: var(--ink); }
.lib__note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.lib__filters-toggle { display: none; }
.lib__body { margin-top: 24px; display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.lf { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 12px; }
.lf__title { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.lf__field { display: block; }
.lf__select { width: 100%; height: 48px; padding: 0 40px 0 16px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='%23555'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; font: 400 16px var(--font); color: var(--ink); cursor: pointer; }
.lf__select:disabled { color: var(--muted); background-color: var(--grey); cursor: not-allowed; }
.lf__group { border: 0; padding: 4px 2px; margin: 0; display: grid; gap: 8px; }
.lf__group legend { font-size: 16px; font-weight: 500; padding: 0; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.lf__group label { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--muted); }
.lf__live { font-size: 11px; font-weight: 500; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 999px; padding: 2px 7px; }
.lf__range { position: relative; height: 16px; margin: 6px 8px 0; }
.lf__range span { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-2); }
.lf__range i { position: absolute; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); }
.lf__range i:first-of-type { left: -6px; } .lf__range i:last-of-type { right: -6px; }
.lf__ticks { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.lf__surprise, .lf__reset { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); font: 500 15px var(--font); color: var(--ink); cursor: pointer; margin-top: 6px; }
.lf__surprise:hover, .lf__reset:hover { border-color: var(--ink); }
.lf__reset { border: 0; height: 32px; margin-top: 0; color: var(--muted); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.lib__count { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px 20px; }
.pc[hidden] { display: none; }
.pc__link { display: block; text-decoration: none; color: var(--ink); }
.pc__img { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--grey); }
.pimg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pc__link:hover .pimg { transform: scale(1.03); }
.pimg--ph { display: flex; padding: 8px; }
.pimg--ph .ph__label { font-size: 12px; }
.pc__brand { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.pc__name { display: block; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.lib__empty { padding: 48px 0; color: var(--muted); }

/* product detail */
.pd-top { display: flex; align-items: center; height: 64px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.pd-top__back { display: inline-flex; gap: 8px; align-items: center; font-size: 16px; color: var(--ink); text-decoration: none; justify-self: start; }
.pd-top__title { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.pd-top__close { justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--ink); }
.pd-top__close:hover, .pd-top__back:hover { background: var(--grey); }
.pd-top__back { padding: 6px 10px; border-radius: 8px; margin-left: -10px; }
.pd { max-width: 1440px; margin: 0 auto; padding: 28px var(--gutter) 56px; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.3fr) minmax(220px, .8fr); gap: 36px; align-items: start; }
.pd__img { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--grey); }
.pd__img .pimg--ph { height: 100%; }
.pd__add { display: flex; width: fit-content; margin: 24px auto 0; height: 48px; padding: 0 36px; gap: 12px; }
.pd__head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pd__cat { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pd__title { margin-top: 10px; font-weight: 500; }
.pd__brand { display: block; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.pd__name { display: block; margin-top: 8px; font-size: 22px; font-weight: 400; color: var(--muted); }
.pd__sku { margin-top: 6px; font-size: 14px; color: var(--muted); }
.pd__actions { display: grid; gap: 10px; min-width: 200px; }
.pd__actions .btn { height: 48px; font-size: 16px; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; }
.pd__rows { margin-top: 36px; }
.pd__row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pd__row dt { font-size: 16px; font-weight: 600; }
.pd__row dd { margin: 6px 0 0; font-size: 16px; color: var(--muted); line-height: 1.5; }
.price { color: var(--ink); font-weight: 500; letter-spacing: .02em; }
.price__off { color: var(--line-2); }
.pd__pending { margin-top: 32px; padding: 16px; border: 1px dashed var(--line-2); border-radius: 10px; font-size: 14px; color: var(--muted); }
.pd__simtitle { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.spgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.sp a { text-decoration: none; color: var(--ink); display: block; }
.sp__img { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--grey); }
.sp__img .ph { height: 100%; padding: 6px; }
.sp__type { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sp__brand { display: block; font-size: 14px; font-weight: 600; }
.sp__name { display: block; font-size: 14px; color: var(--ink-2); }
.inuse { padding: 56px 0 24px; border-top: 1px solid var(--line); }
.inuse .wrap { max-width: 1440px; }
.inuse__grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.inuse__grid .ph { border-radius: 12px; }
/* real "in use" images keep their own proportions: three even columns, no cropping */
.inuse__masonry { margin-top: 28px; columns: 3; column-gap: 20px; }
.inuse__masonry li { break-inside: avoid; margin-bottom: 20px; }
.inuse__masonry img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--grey); }
@media (max-width: 860px) { .inuse__masonry { columns: 2; } }
@media (max-width: 520px) { .inuse__masonry { columns: 1; } }

/* Brand Showrooms */
.srm { padding: 24px 0 72px; background: var(--grey); min-height: calc(100vh - var(--hdr-h)); }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { font-weight: 600; }
.crumbs__sep { width: 14px; height: 14px; transform: rotate(-90deg); color: var(--muted); }
.srm__title { margin-top: 24px; text-align: center; font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.03em; }
.srm__search { margin-top: 28px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.srm__search input { flex: 1; border: 0; background: none; font: 400 16px var(--font); color: var(--ink); outline: none; min-width: 0; }
.srm__search:focus-within { border-color: var(--ink); }
.srm__tabs { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font: 400 14px var(--font); color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.srgrid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sr[hidden] { display: none; }
.sr__link { display: grid; grid-template-columns: 1fr 1fr; height: 100%; min-height: 300px; border-radius: 16px; overflow: hidden; text-decoration: none; color: #111; }
.sr__link:hover .sr__img .ph { transform: scale(1.02); }
.sr__panel { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 26px; }
.sr__logo { width: 128px; height: 44px; border-radius: 6px; background: rgba(255,255,255,.35); outline-color: rgba(0,0,0,.25); padding: 0; }
.sr__logo .ph__tag { display: inline; font-size: 10px; padding: 2px 4px; }
.sr__name { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.sr__count { display: block; margin-top: 4px; font-size: 15px; color: rgba(0,0,0,.65); }
.sr__img .ph { height: 100%; transition: transform .3s; }
.sr--empty { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--muted); min-height: 300px; padding: 24px; text-align: center; }
.partner { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 32px; border: 2px dashed var(--line-2); border-radius: 16px; background: var(--grey-2); }
.partner__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: var(--bg); color: var(--ink-2); }
.partner__title { font-size: 22px; font-weight: 600; line-height: 1.25; }
.partner__text { max-width: 40ch; color: var(--muted); font-size: 16px; }
.partner__btn { margin-top: 6px; height: 46px; padding: 0 24px; font-size: 16px; }

@media (max-width: 1100px) {
  .pd { grid-template-columns: minmax(240px, 1fr) minmax(300px, 1.3fr); }
  .pd__similar { grid-column: 1 / -1; }
  .pd__similar .spgrid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 860px) {
  .lib__body { grid-template-columns: 1fr; margin-top: 12px; }
  .lib__filters-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); font: 500 15px var(--font); color: var(--ink); cursor: pointer; }
  .js .lf { display: none; position: static; }
  .js .lf.is-open { display: grid; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .lib__drop span { display: none; }
  .pd { grid-template-columns: 1fr; }
  .pd__similar .spgrid { grid-template-columns: repeat(2, 1fr); }
  .pd__actions { width: 100%; grid-template-columns: 1fr 1fr; }
  .inuse__grid { grid-template-columns: 1fr 1fr; }
  .srgrid { grid-template-columns: 1fr; }
  .pd-top__title { font-size: 18px; }
}
@media (max-width: 520px) {
  .sr__link { grid-template-columns: 1fr; }
  .sr__img { aspect-ratio: 16 / 10; }
  .inuse__grid { grid-template-columns: 1fr; }
}

/* ================================================================ Overview: floating background swatches (experiment) */
.opage { position: relative; }
.opage > :not(.bgf-layer) { position: relative; z-index: 1; }          /* all content sits above the layer */
.bgf-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }  /* clipped: never causes sideways scroll */
.bgf { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translate(-50%, -50%) translate3d(0, var(--py, 0px), 0) rotate(var(--r)); will-change: transform; }
.bgf__in { display: block; animation: bgf-drift var(--d) ease-in-out var(--delay) infinite; }
.bgf__in img { display: block; width: 100%; height: auto; }
/* material thumbnails: thin white border, soft shadow */
.bgf--thumb .bgf__in { border: 2px solid #fff; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 20px rgba(0,0,0,.09); }
.bgf--thumb .bgf__in img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
/* transparent PNG objects: no border, background or frame */
.bgf--png .bgf__in { border: 0; background: none; box-shadow: none; }
@keyframes bgf-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(5px, -8px) rotate(2deg); }
  66% { transform: translate(-4px, 6px) rotate(-2deg); }
}
/* narrower desktops: smaller and pushed into the outer gutter so they stay clear of text */
@media (max-width: 1300px) { .bgf { width: calc(var(--w) * .8); } }
/* phones: only four tiny ones, half tucked off the edge */
@media (max-width: 760px) {
  .bgf { display: none; }
  .bgf--m { display: block; width: 34px; }
  .bgf--m.bgf--png { width: 40px; }
  .bgf--m.bgf--l { left: -6px; } .bgf--m.bgf--r { left: calc(100% + 6px); }
}
@media (prefers-reduced-motion: reduce) { .bgf__in { animation: none !important; } }
.bgf.bgf--off { display: none; }

/* TEMPORARY: review markers in the Features menu (remove with site.json > reviewBadges.enabled = false) */
.badge-wip { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: #EDE9FE; color: #8C38FF; font-size: 10px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }

/* testimonial placeholder in the split layout (draft only) */
.mquote--ph { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px dashed #cfcfcf; border-left: 2px solid var(--ink); border-radius: 0 12px 12px 0; background: rgba(255,255,255,.6); font-size: 14px; color: var(--muted); }
.mquote__phlabel { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }


/* feature rows with slightly larger media (SketchUp page) */
.rows.rows--wide-media > .row--step:not(.row--flip) { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 52px); }
.rows.rows--wide-media > .row--step.row--flip { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 52px); }
@media (max-width: 860px) { .rows.rows--wide-media > .row--step:not(.row--flip), .rows.rows--wide-media > .row--step.row--flip { grid-template-columns: 1fr; } }

/* SketchUp hero: image closer to the buttons (the image has its own transparent top margin) */
.hero[aria-labelledby="hero-title-sketchup"] .hero__frame { margin-top: 0; }

/* compact supporting points inside a feature row */
.row__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.row__list li { position: relative; padding-left: 22px; color: var(--muted); font-size: inherit; line-height: 1.55; }
.row__list li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .55; }
.row--step .row__list li { font-size: clamp(16px, 1.25vw, 18px); }

/* one feature row with a larger image (SketchUp rendering) */
.rows.rows--wide-media > .row--step.row--flip.row--media-xl { grid-template-columns: minmax(0, 9fr) minmax(0, 4fr); }
.rows.rows--wide-media > .row--step:not(.row--flip).row--media-xl { grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); }
@media (max-width: 860px) { .rows.rows--wide-media > .row--step.row--media-xl.row--flip, .rows.rows--wide-media > .row--step.row--media-xl:not(.row--flip) { grid-template-columns: 1fr; } }

/* rendering row: its image has a wider built-in white margin, so shift the row left to line up with the rows above (desktop/tablet only) */
@media (min-width: 861px) { .rows.rows--wide-media > .row--step.row--media-xl { position: relative; left: clamp(-52px, -3.4vw, -28px); } }

/* "Explore …" links under a feature row's text */
.row__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 15px; }

/* upcoming feature on the overview: non-link button */
.btn--soon { color: var(--muted); cursor: default; pointer-events: none; }

/* split layout with a square image instead of a portrait reel (Discover Products) */
.sec-split__media:has(> img.media), .sec-split__media:has(> picture.media) { max-width: 540px; }
.sec-split__media > img.media, .sec-split__media > picture.media, .sec-split__media > picture.media img { display: block; width: 100%; height: auto; }

/* split layout with a larger square image (Discover Products) */
.sec-split.sec-split--wide-media { max-width: 1180px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sec-split--wide-media .sec-split__media:has(> img.media), .sec-split--wide-media .sec-split__media:has(> picture.media) { max-width: 640px; }
@media (max-width: 860px) { .sec-split.sec-split--wide-media { grid-template-columns: 1fr; } }

/* split layout with an even larger square image (Discover Products) */
.sec-split.sec-split--big-media { max-width: 1240px; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.sec-split--big-media .sec-split__media:has(> img.media), .sec-split--big-media .sec-split__media:has(> picture.media) { max-width: 720px; }
@media (max-width: 860px) { .sec-split.sec-split--big-media { grid-template-columns: 1fr; } }

/* paired media: draw the frame line as an outline so it takes no space and both items share exactly one height */
.mpair__item:not(.mpair__item--bare) { border: 0; outline: 1px solid var(--line); outline-offset: -1px; }

/* split layout with a prominent square image (~120% of the previous size) */
.sec-split.sec-split--huge-media { max-width: none; margin-left: 0; width: min(calc(100% + 204px), calc(100% + (100vw - 100%) / 2 - 24px)); grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); }
.sec-split--huge-media .sec-split__media:has(> img.media), .sec-split--huge-media .sec-split__media:has(> picture.media) { max-width: 766px; }
@media (max-width: 860px) { .sec-split.sec-split--huge-media { grid-template-columns: 1fr; width: auto; margin-left: 0; } }

/* left column sized to its content (shorter than the image), centred beside it */
.sec-split--compact-copy .sec-split__copy { align-self: center; justify-content: flex-start; height: auto; }
.sec-split--compact-copy .sec-split__copy .mquote { margin-top: clamp(44px, 5vw, 72px); }
/* feature rows with slightly larger media */
.rows.rows--steps > .row--step.row--media-lg.row--flip { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
.rows.rows--steps > .row--step.row--media-lg:not(.row--flip) { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); }
@media (max-width: 860px) { .rows.rows--steps > .row--step.row--media-lg.row--flip, .rows.rows--steps > .row--step.row--media-lg:not(.row--flip) { grid-template-columns: 1fr; } }
/* frameless video keeps soft rounded corners */
.row__media--bare > video.media, .row__media--bare video { border-radius: 14px; }

/* feature rows with noticeably larger media */
.rows.rows--steps > .row--step.row--media-xlg.row--flip { grid-template-columns: minmax(0, 9fr) minmax(0, 4fr); }
.rows.rows--steps > .row--step.row--media-xlg:not(.row--flip) { grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); }
@media (max-width: 860px) { .rows.rows--steps > .row--step.row--media-xlg.row--flip, .rows.rows--steps > .row--step.row--media-xlg:not(.row--flip) { grid-template-columns: 1fr; } }

/* small grey 'Soon' label beside a row heading (upcoming features) */
.row__soon { display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: #f0f0f0; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .02em; vertical-align: middle; }

/* frameless videos on white: blend so compression-grey whites disappear into the page */
.section:not(.section--grey) .row__media--bare video { mix-blend-mode: multiply; }

/* even visual spacing: rows after media with built-in blank margins move up by that margin (desktop/tablet only) */
@media (min-width: 861px) { .rows.rows--steps > .row--step[style*="--nudge-px"] { margin-top: max(var(--nudge-px), var(--nudge-vw)); } }

/* one image extends into the page margin on wide screens so its details are easier to read */
@media (min-width: 1240px) {
  .rows.rows--steps > .row--step.row--bleed.row--flip .row__media { margin-left: calc(-1 * clamp(0px, (100vw - 1136px) / 2 - 40px, 112px)); }
  .rows.rows--steps > .row--step.row--bleed:not(.row--flip) .row__media { margin-right: calc(-1 * clamp(0px, (100vw - 1136px) / 2 - 40px, 112px)); }
}

/* My Library & Collections: bring the hero image closer to the buttons (the artwork has its own transparent headroom) */
.hero[aria-labelledby="hero-title-collections-libraries"] .hero__frame { margin-top: 4px; }

/* Stacked section with the image above the columns: image spans the full column width; heading, image and columns sit closer together */
.rows > .row--stacked.row--media-first .row__media { max-width: none; width: 100%; margin: 0 auto; }
section:has(.row--media-first) .rows { margin-top: clamp(-4px, -0.3vw, 0px); }   /* the image carries ~18px of its own soft-shadow margin */
.row--stacked.row--media-first .points--row { margin-top: clamp(6px, 0.6vw, 8px); max-width: none; }
@media (max-width: 640px) { section:has(.row--media-first) .rows, .row--stacked.row--media-first .points--row { margin-top: 14px; } }

/* COL-ADD2: the artwork has ~1.7% blank shadow edge each side; enlarge the image so the VISIBLE artwork spans the full column width (no cropping) */
.row--stacked.row--media-first .row__media img { width: 103.55%; max-width: none; margin-left: -1.82%; }   /* visible artwork = column width */
@media (min-width: 1240px) { .row--stacked.row--media-first .row__media img { width: 107.7%; margin-left: -3.9%; } }   /* wide screens: ~4% wider than the columns, centred */

/* a smaller extension into the page margin (up to 60px) for a slightly larger image */
@media (min-width: 1240px) {
  .rows.rows--steps > .row--step.row--bleed-sm.row--flip .row__media { margin-left: calc(-1 * clamp(0px, (100vw - 1136px) / 2 - 40px, 60px)); }
  .rows.rows--steps > .row--step.row--bleed-sm:not(.row--flip) .row__media { margin-right: calc(-1 * clamp(0px, (100vw - 1136px) / 2 - 40px, 60px)); }
}

/* centred section with buttons under the heading (SketchUp PRO) */
.shead__ctas .cta-row { justify-content: center; margin-top: clamp(20px, 2.4vw, 28px); }
.shead__ctas + .rows__lead { margin-top: clamp(28px, 3.5vw, 48px); }
.rows__lead.rows__lead--large { max-width: min(900px, 100%); }

/* logo centred above a section heading (MattoBoard × SketchUp) */
.shead__logo { display: flex; justify-content: center; margin-bottom: clamp(20px, 2.4vw, 28px); }
.shead__logo .media { width: clamp(200px, 21vw, 300px); height: auto; }

/* small outline icon above a point, matching the Features dropdown icons */
.points__icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink-2); margin-bottom: 14px; }
.points__icon .icon { width: 18px; height: 18px; }

/* Team management: playful illustrated icons, centred items, compact spacing under the heading */
.row--stacked .points--row.points--illus { margin-top: 24px; }
.row--stacked .points--illus > li { text-align: center; }
.points__illus { display: block; width: clamp(72px, 6.4vw, 88px); height: clamp(72px, 6.4vw, 88px); margin: 0 auto 16px; }
.points__illus .illus { width: 100%; height: 100%; display: block; }
section:has(.points--illus) .rows { margin-top: 16px; }

/* Team management sits closer to the feature rows above (gap matches the 128px between rows) */
section.section:has(.points--illus) { padding-top: 8px; }

/* Team management: rendered glossy 3D objects (no background tile) */
.points__illus.points__illus--3d { width: clamp(92px, 7.6vw, 112px); height: clamp(92px, 7.6vw, 112px); margin-bottom: 10px; }
.points__illus--3d img { width: 100%; height: 100%; display: block; object-fit: contain; }

.points__illus--3d > svg.illus { width: 100%; height: 100%; display: block; }

/* Team management: small minimal outline icons on a proportionally smaller tile */
.points__illus.points__illus--mini { width: clamp(56px, 4.6vw, 64px); height: clamp(56px, 4.6vw, 64px); margin-bottom: 14px; }
.points__illus--mini > svg.illus { width: 100%; height: 100%; display: block; }

.inuse__note { margin: 10px 0 22px; font-size: 14px; color: var(--muted); }

/* Always light: the site is designed for white (white-background media, light-grey sections).
   Pin the palette even when the viewer's device or the hosting viewer prefers dark. */
:root, :root[data-theme="dark"], :root[data-theme="light"] { color-scheme: light; }
html, body { background: #FFFFFF; color: #141414; }
.site-header, body::before, .mobile-menu { background: #FFFFFF; }

/* Menu buttons: whole label + arrow toggles; instant on touch */
.menu__btn, .mm__btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.menu__btn:focus-visible, .mm__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.panel__all { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 2px; padding: 8px 10px; border-radius: 8px; font-size: 15px; color: var(--ink); text-decoration: none; }
.panel__all:hover, .panel__all:focus-visible { background: var(--grey); }
.mm__all { display: block; padding: 10px 0 4px; font-size: 16px; color: var(--ink); text-decoration: none; }
