/* Eterna case study template (base: "brand-editorial", with grafts from "proof-first" and "product-showcase").
   Built from the measured eternaindonesia.com tokens: Nunito Sans at 400/600/700, the live colors,
   radii 4/8/14/20/24/36, 4px buttons with a 2px border and a hard teal shadow on hover,
   and a 1300px container with 5% gutters. Every section shares one left edge (the container edge).
   Paragraphs stop at 760px; grids, feature rows, facts and cards use the full container.
   Webflow map: every selector is a class, a combo class (.a.is-b), a collection-item state
   (:nth-child(even)) or a tag inside a rich text class (.cs-rt p). Rules marked "custom code" go in the
   template's custom CSS block (BUILD-NOTES.md lists them). No color-mix(), no :has(), no generated
   content, no JavaScript. The client color appears only on .cs-accent-dot (a CMS Color field).
   Polish round (18 Nov 2026): the lightbox, the fold-all buttons and the compact feature list need a small script
   from render.py; their rules are marked custom code. */

:root{
  /* live Webflow Variables */
  --eterna-blue:#00bab1; --black:#121212; --gray-900:#1e1e1e; --white:#fefefe;
  --grey-100:#f7f7f7; --grey-200:#d0d0d0; --grey-400:#5e5e5e;
  /* live colors without a Variable yet: add them as Variables by these names */
  --deep-teal:#003331; --teal-tint:#e8fffe; --teal-tint-2:#c4f0ed; --line:#d9d9d9;
  /* new Variable: the brand teal darkened for small text on light (5.5:1 on white, 5.2:1 on #f7f7f7, 5.3:1 on #e8fffe) */
  --teal-ink:#00756f;
  --font:"Nunito Sans Variable","Nunito Sans",sans-serif;
}

/* ---------- base (Webflow: Body and All tags) ---------- */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--black);font-family:var(--font);font-size:20px;line-height:1.25;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:var(--teal-ink)}
figure{margin:0}
/* custom code: the global focus ring. scroll-padding keeps a focused element and an anchor target clear of the
   56px fixed nav (WCAG 2.4.11, technique C43). The negative scroll margin then lifts a section by its own top
   padding, so after a chip jump the section label lands 32px under the nav, not 88px plus the padding. */
:focus-visible{outline:3px solid var(--deep-teal);outline-offset:3px}
html{scroll-padding-top:88px}
.cs-section{scroll-margin-top:-96px}
/* custom code: no lone last word in a heading, no very short last line in a paragraph */
h1,h2,h3,.cs-h1,.cs-h2,.cs-feature-title,.cs-card-title,.cs-midcta-title,.cs-cta-title,.cs-quote-text p{text-wrap:balance}
p,li,figcaption,dd{text-wrap:pretty}
.cs-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cs-skip{position:absolute;left:16px;top:-120px;z-index:200;padding:12px 18px;border-radius:4px;background:var(--white);color:var(--black);font-size:16px;font-weight:700;text-decoration:none}
.cs-skip:focus{top:16px}
.cs-skip:focus-visible{outline-color:var(--eterna-blue)}

/* ---------- buttons: the live classes ---------- */
.button-primary-light,.button-primary-dark,.button-secondary-dark{display:inline-flex;align-items:center;justify-content:center;min-height:49px;padding:10px 20px;border:2px solid;border-radius:4px;font-family:inherit;font-size:20px;line-height:25px;font-weight:600;text-align:center;text-decoration:none;transition:box-shadow .2s,background-color .2s,color .2s,border-color .2s}
.button-primary-light{background:var(--white);color:var(--black);border-color:var(--white)}
.button-secondary-dark{background:transparent;color:var(--white);border-color:var(--white)}
.button-primary-dark{background:var(--black);color:var(--white);border-color:#000}
.button-primary-light:hover,.button-primary-dark:hover,.button-secondary-dark:hover{box-shadow:4px 4px 0 0 var(--eterna-blue)}
.button-primary-light:focus-visible,.button-secondary-dark:focus-visible{outline-color:var(--eterna-blue)}
.hug{min-height:44px;font-size:16px;line-height:20px}

/* ---------- nav: echo of the shared component, fixed at the top like the live one. One solid 56px bar across the
   full width, so no page text shows through it or above it ---------- */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;padding:0 5%;background:var(--gray-900);box-shadow:0 2px 14px rgba(0,0,0,.2)}
.site-nav{display:flex;align-items:center;gap:24px;max-width:1300px;margin:0 auto;padding:4px 0}
.site-nav-logo{display:inline-flex;flex:none;align-items:center;min-height:48px}
.site-nav-logo:focus-visible{outline-color:var(--eterna-blue)}
.site-nav-logo img{width:160px}
.site-nav-links{display:flex;gap:4px;margin:0 auto;padding:0;list-style:none}
.site-nav-link{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--white);font-size:18px;letter-spacing:.25px;text-decoration:none;white-space:nowrap}
.site-nav-link:hover,.site-nav-link.is-current{color:var(--eterna-blue)}
.site-nav-link:focus-visible{outline-color:var(--eterna-blue)}
.site-nav-actions{display:flex;flex:none;align-items:center;gap:16px}
.site-nav-menu{display:none;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:4px;color:var(--white)}
.site-nav-menu:focus-visible{outline-color:var(--eterna-blue)}
.site-nav-menu-icon{width:24px;height:24px}
.site-nav-menu{padding:0;border:0;background:none;font:inherit;cursor:pointer}
/* the phone menu panel: a solid panel under the nav bar, so opening it moves nothing on the page and no page
   text shows through it */
.site-menu{display:none;position:absolute;top:100%;left:0;right:0;padding:8px 5% 24px;border-top:1px solid rgba(255,255,255,.12);background:var(--gray-900);box-shadow:0 12px 24px rgba(0,0,0,.35)}
.site-menu-links{margin:0 0 16px;padding:0;list-style:none}
.site-menu-link{display:flex;align-items:center;min-height:48px;color:var(--white);font-size:20px;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.12)}
.site-menu-link:hover,.site-menu-link.is-current{color:var(--eterna-blue)}
.site-menu-link:focus-visible,.site-menu-book:focus-visible{outline-color:var(--eterna-blue)}
.site-menu-book{width:100%}

/* ---------- hero: dark and centered, like the live case-study hero; the four stats sit inside it ---------- */
.cs-container{max-width:1300px;margin:0 auto}
/* 104px clears the 56px nav by 48px and keeps the four stats in a 1440 x 900 window */
.cs-hero{padding-top:104px;background:var(--black);color:var(--white)}
.cs-hero-inner{padding:0 5%}
.cs-hero-copy{display:flex;flex-direction:column;align-items:center;text-align:center}
.cs-eyebrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 12px;margin:0 0 12px;font-size:14px;line-height:1.35;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--grey-200)}
.cs-eyebrow-link{display:inline-flex;align-items:center;min-height:44px;color:var(--eterna-blue);text-decoration:none}
.cs-eyebrow-link:hover{text-decoration:underline}
.cs-eyebrow-link:focus-visible{outline-color:var(--eterna-blue)}
.cs-eyebrow-sep{color:var(--grey-200)}
.cs-eyebrow-industry{display:inline-flex;align-items:center;gap:10px;min-height:44px}
.cs-accent-dot{display:inline-block;flex:none;width:12px;height:12px;border:2px solid var(--white);border-radius:50%}
.cs-h1{max-width:976px;margin:0;font-size:48px;line-height:1.1;font-weight:700;color:var(--white)}
.cs-lede{max-width:820px;margin:24px 0 0;font-size:20px;line-height:1.5;color:var(--grey-200)}
.cs-hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:28px}
.cs-stats{display:grid;align-self:stretch;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:40px 0 0;padding:0;border-top:1px solid var(--grey-400);background:var(--grey-400);list-style:none}
/* custom code: each stat is two rows of the strip's grid (subgrid), so every label in a row starts on one line even
   when one value takes two lines. The value sits at the foot of its row. When a value has a long word or more than
   11 characters (.is-long, set by the template), the whole strip is set smaller (.has-long), so its four values
   match; on a phone only that value is smaller. overflow-wrap is the last guard, so no value is cut */
.cs-stat{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0;min-width:0;padding:20px 20px 0;background:var(--black)}
.cs-stat-value{align-self:end;margin:0;font-size:clamp(32px,3.4vw,44px);line-height:1.1;font-weight:700;color:var(--eterna-blue);overflow-wrap:anywhere}
.cs-stats.has-long .cs-stat-value{font-size:clamp(26px,2.5vw,36px)}
.cs-stat-label{max-width:280px;margin:12px auto 0;font-size:16px;line-height:1.5;color:var(--grey-200)}
.cs-hero-media{padding:64px 5% 0;background:linear-gradient(180deg,var(--black) 0%,var(--black) 58%,var(--white) 58%,var(--white) 100%)}

/* ---------- screenshots: each one links to its full-size file (Webflow: a Lightbox link) ---------- */
/* a slot is a flex column that centers its frame, so a capture narrower than its slot sits in the middle;
   the caption keeps the full slot width */
.cs-shot{display:flex;flex:1 1 calc(50% - 12px);flex-direction:column;align-items:center;min-width:0}
.cs-shot.is-lead{flex-basis:100%}
.cs-shot.is-hero{max-width:1120px;margin:0 auto;text-align:center}
/* the frame is the link; it shrinks to a narrow capture instead of stretching it */
.cs-shot-frame{position:relative;display:inline-block;max-width:100%;min-height:44px;overflow:hidden;vertical-align:top;border:1px solid var(--grey-200);border-radius:8px;background:var(--white);color:var(--black);box-shadow:0 2px 10px -5px #000;cursor:zoom-in;transition:box-shadow .2s}
.cs-shot-frame:hover{box-shadow:4px 4px 0 0 var(--eterna-blue)}
.cs-shot-frame.is-hero{border-color:var(--gray-900);box-shadow:0 2px 14px rgba(0,0,0,.2)}
.cs-shot-frame.is-hero:hover{box-shadow:4px 4px 0 0 var(--eterna-blue)}
/* custom code: the hero frame crosses the black and white edge, so its ring is teal with a deep teal band
   around it. The teal line shows on black (7.7:1) and the deep teal band shows on white (13.7:1) */
.cs-shot-frame.is-hero:focus-visible{outline-color:var(--eterna-blue);box-shadow:0 0 0 9px var(--deep-teal)}
.cs-shot-bar{display:flex;align-items:center;gap:6px;height:26px;padding:0 12px;border-bottom:1px solid var(--grey-200);background:var(--grey-100)}
.cs-shot-dot{width:9px;height:9px;border-radius:50%;background:var(--grey-200)}
.cs-shot-img{max-width:100%}
.cs-caption{align-self:stretch;margin:12px 0 0;font-size:14px;line-height:1.45;color:var(--grey-400);text-align:left}
/* a phone shot: a black phone frame on a grey panel; the frame is the link. A lone phone panel stops at 420px
   and sits in the middle of the media column (.cs-media centers it) */
.cs-shot.is-phone{max-width:420px;padding:32px 24px;border-radius:14px;background:var(--grey-100)}
.cs-caption.is-center{align-self:center;max-width:260px;text-align:center}
.cs-phone{position:relative;display:block;width:100%;max-width:240px;overflow:hidden;border:6px solid var(--black);border-radius:26px;background:var(--black);color:var(--white);box-shadow:0 2px 10px -5px #000;cursor:zoom-in;transition:box-shadow .2s}
.cs-phone:hover{box-shadow:4px 4px 0 0 var(--eterna-blue)}
.cs-phone-img{width:100%}
.cs-shot.is-art{max-width:360px}
.cs-art{position:relative;display:block;width:100%;overflow:hidden;border-radius:14px;background:var(--black);box-shadow:0 2px 10px -5px #000;cursor:zoom-in;transition:box-shadow .2s}
.cs-art:hover{box-shadow:4px 4px 0 0 var(--eterna-blue)}
.cs-art-img{display:block;width:100%}
/* custom code: the visible "Enlarge" cue on every image link (a real element, aria-hidden; the link's own text says
   it opens the full-size image). Always shown on a touch-width screen; on a desktop it shows on hover and focus */
.cs-zoom{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:4px;background:rgba(18,18,18,.86);color:var(--white);font-size:13px;line-height:20px;font-weight:700;pointer-events:none;transition:opacity .2s}
.cs-zoom-icon{width:14px;height:14px}
@media (hover:hover) and (min-width:992px){
  .cs-zoom{opacity:0}
  a:hover > .cs-zoom,a:focus-visible > .cs-zoom{opacity:1}
}

/* ---------- Fact 1-4: a white spec strip under the hero shot ---------- */
.cs-section.is-facts{padding-top:56px;padding-bottom:0}
.cs-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;border-top:1px solid var(--grey-200);border-bottom:1px solid var(--grey-200);background:var(--grey-200)}
.cs-fact{padding:24px;background:var(--white)}
.cs-fact-label{font-size:14px;line-height:1.35;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--teal-ink)}
.cs-fact-value{margin:8px 0 0;font-size:18px;line-height:1.4;font-weight:600;color:var(--black)}

/* ---------- "On this page": static anchor chips in the live filter-chip style. Sticky on a desktop (992px and up, below) ---------- */
.cs-index{padding:32px 5% 0}
/* the label sits on its own line, so nine chips and the button fit on one line at 1440px */
.cs-index-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px}
.cs-index-label{grid-column:1/-1;margin:0;font-size:14px;line-height:1.35;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--grey-400)}
.cs-index-list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.cs-index-item{display:flex}
.cs-chip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:36px;background:var(--white);color:var(--black);font-size:16px;line-height:20px;font-weight:600;text-decoration:none;white-space:nowrap;transition:border-color .2s,background-color .2s}
.cs-chip:hover{border-color:var(--eterna-blue);background:var(--teal-tint)}
.cs-index-book{white-space:nowrap}

/* ---------- sections and section heads ---------- */
.cs-section{padding:96px 5%}
.cs-section--grey{background:var(--grey-100)}
.cs-section--tint{background:var(--teal-tint)}
.cs-section--teal{background:var(--deep-teal);color:var(--white)}
.cs-head{max-width:900px;margin:0 0 32px}
.cs-kicker{margin:0 0 16px;font-size:14px;line-height:1.35;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--teal-ink)}
.cs-kicker.is-light{color:var(--eterna-blue)}
.cs-h2{margin:0;font-size:40px;line-height:1.1;font-weight:700;color:var(--deep-teal)}
.cs-h2.is-light{color:var(--white)}
/* the client section: head on the left, the text on the right (the feature-row grid) */
.cs-container.is-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:80px;align-items:start}

/* ---------- rich text: one base class for every rich text field ---------- */
.cs-rt p{max-width:760px;margin:0 0 16px;font-size:20px;line-height:1.5}
.cs-rt a{color:var(--teal-ink);text-decoration:underline}
.cs-rt ul{margin:16px 0 0;padding:0;list-style:none}
.cs-rt.is-dark p{color:var(--grey-200)}
.cs-rt.is-dark a{color:var(--eterna-blue)}

/* rich text list as a ruled grid: challenge points, surfaces, catalogue, How we built it, results.
   12 tracks: two across by default, three across with the --3 combo.
   custom code: the grid-column spans of the list items (and their repeats in the media queries), because the
   Designer may not set a grid child span on a list item inside rich text */
.cs-rt-grid ul{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px 32px;margin-top:48px}
.cs-rt-grid li{grid-column:span 6;margin:0;padding-top:20px;border-top:2px solid var(--eterna-blue);font-size:16px;line-height:1.5;color:var(--grey-400)}
.cs-rt-grid--3 li{grid-column:span 4}
/* custom code: a three-across list of exactly four items sits four across, so no item is left alone */
.cs-rt-grid--3 li:first-child:nth-last-child(4),.cs-rt-grid--3 li:first-child:nth-last-child(4) ~ li{grid-column:span 3}
.cs-rt-grid--quiet li{border-top:1px solid var(--grey-200)}
.cs-rt-grid.is-dark li{color:var(--grey-200)}
/* custom code: two-tag nesting inside rich text */
.cs-rt-grid li strong{display:block;margin-bottom:8px;font-size:20px;line-height:1.3;font-weight:700;color:var(--black)}
.cs-rt-grid li em{display:block;margin-bottom:8px;font-style:normal;font-size:14px;line-height:1.35;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--teal-ink)}
.cs-rt-grid.is-dark li strong{color:var(--white)}

/* results on the deep teal band: the result points first, then the paragraph */
.cs-rt-results{display:flex;flex-direction:column}
.cs-rt-results ul{order:-1;margin:16px 0 48px}
.cs-rt-results li{padding-top:24px;border-top-width:4px;font-size:18px}
.cs-rt-results li strong{margin-bottom:10px;font-size:24px;line-height:1.25}

/* rich text as a ledger: an H3 label column beside its list. Systems, timeline, stack */
.cs-rt-ledger{display:grid;grid-template-columns:240px minmax(0,1fr);column-gap:48px;border-bottom:1px solid var(--grey-200)}
/* custom code: grid placement of rich text children */
.cs-rt-ledger p{grid-column:1/-1;margin-bottom:40px}
.cs-rt-ledger h3{grid-column:1;margin:0;padding:24px 0;border-top:1px solid var(--grey-200);font-size:20px;line-height:1.3;font-weight:700;color:var(--black)}
.cs-rt-ledger ul{grid-column:2;margin:0;padding:24px 0;border-top:1px solid var(--grey-200)}
/* custom code: the auto-fit track list, which the Designer's grid editor may not write */
.cs-rt-ledger--systems ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px 40px}
.cs-rt-ledger--systems li{max-width:720px;font-size:16px;line-height:1.5;color:var(--grey-400)}
/* timeline items stop at 760px, like paragraphs; the rules of the ledger keep the full width */
.cs-rt-ledger--timeline li{max-width:760px;margin:0 0 8px;padding-left:24px;font-size:18px;line-height:1.45;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='4' fill='%2300bab1'/%3E%3C/svg%3E") no-repeat 4px .55em}
.cs-rt-ledger--stack ul{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px}
.cs-rt-ledger--stack li{padding:6px 12px;border-radius:4px;background:var(--grey-100);font-size:16px;line-height:1.4}
/* custom code: two-tag nesting */
.cs-rt-ledger--systems li strong{display:block;margin-bottom:4px;font-size:18px;line-height:1.3;color:var(--black)}
.cs-rt-ledger--systems li em{display:block;margin-top:8px;font-style:normal;font-size:14px;line-height:1.4;font-weight:600;color:var(--teal-ink)}
.cs-rt-ledger--timeline h3 em{display:block;margin-bottom:6px;font-style:normal;font-size:14px;line-height:1.35;letter-spacing:1px;text-transform:uppercase;color:var(--teal-ink)}

/* ---------- stack: one card per group, each technology a chip with its logo on a tile in its brand color.
   The tile color is an inline style, like .cs-accent-dot. A black logo turns white on a dark tile (.is-white).
   An item with no logo shows its name only (.is-plain), with no tile. The old .cs-rt-ledger--stack rules stay for Webflow. ---------- */
.cs-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cs-stack-group{min-width:0;padding:28px 28px 32px;border:1px solid var(--grey-200);border-radius:14px;background:var(--white);box-shadow:4px 4px 0 0 var(--teal-tint-2)}
.cs-stack-title{margin:0 0 20px;padding-bottom:16px;border-bottom:2px solid var(--eterna-blue);font-size:20px;line-height:1.3;font-weight:700;color:var(--deep-teal)}
.cs-stack-list{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.cs-tech{display:inline-flex;align-items:center;gap:10px;max-width:100%;min-height:46px;padding:6px 14px 6px 6px;border:1px solid var(--line);border-radius:8px;background:var(--grey-100)}
.cs-tech-mark{display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;box-shadow:inset 0 0 0 1px rgba(18,18,18,.1)}
.cs-tech-mark.is-neutral{background:var(--white);color:var(--grey-400);font-size:15px;line-height:1;font-weight:700;box-shadow:inset 0 0 0 1px var(--grey-200)}
.cs-tech.is-plain{padding-left:14px}
.cs-tech-logo{width:20px;height:20px}
.cs-tech-logo.is-white{filter:brightness(0) invert(1)}
.cs-tech-name{min-width:0;font-size:16px;line-height:1.35;font-weight:600;color:var(--black);overflow-wrap:break-word}

/* ---------- a feature shot with motion: a video with controls in the shot frame, and a link to the full-size poster ---------- */
.cs-shot-frame.is-video,.cs-phone.is-video,.cs-art.is-video{cursor:auto}
.cs-shot-frame.is-video:hover{box-shadow:0 2px 10px -5px #000}
.cs-phone.is-video:hover,.cs-art.is-video:hover{box-shadow:0 2px 10px -5px #000}
.cs-shot-video{display:block;max-width:100%;height:auto;background:var(--black)}
.cs-phone.is-video .cs-shot-video,.cs-art.is-video .cs-shot-video{width:100%}
.cs-video-still{display:inline-flex;align-self:flex-start;align-items:center;min-height:44px;font-size:14px;line-height:1.4;color:var(--teal-ink);text-decoration:underline}
.cs-shot.is-phone .cs-video-still,.cs-shot.is-art .cs-video-still{align-self:center}

/* ---------- feature rows: the Case Study Features collection list ---------- */
.cs-features{display:grid;gap:120px;margin-top:120px}
/* the media always takes the wide 7fr column; every even row only swaps the sides */
.cs-feature{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-areas:"copy media";column-gap:80px;align-items:start}
.cs-feature:nth-child(even){grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-template-areas:"media copy"}
/* the copy stays in view while a tall stack of shots scrolls past (below the fixed nav and the sticky index bar) */
.cs-feature-copy{grid-area:copy;position:sticky;top:133px}
.cs-feature-head{grid-area:head}
.cs-feature-body{grid-area:body}
.cs-feature-media{grid-area:media;min-width:0}
.cs-feature-eyebrow{margin:0 0 12px;font-size:14px;line-height:1.35;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--teal-ink)}
.cs-feature-title{margin:0 0 20px;font-size:32px;line-height:1.15;font-weight:700;color:var(--black)}
.cs-feature-body p{font-size:18px;line-height:1.55}
.cs-feature-body ul{display:grid;gap:12px;margin-top:24px}
.cs-feature-body li{padding-left:32px;font-size:17px;line-height:1.45;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23e8fffe' stroke='%2300bab1' stroke-width='2'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%2300756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 .15em/20px 20px}
/* the shot slots: slot 1 (a browser shot) fills the column at every width; the rest sit two across; a shot
   left alone on its line grows to the full width (a lone phone panel stops at 420px and sits in the middle).
   flex-wrap does this with no count rules, and Webflow's hidden empty slots (display:none) drop out of the layout. */
.cs-media{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
/* a row with no shot: the copy takes the full row on a grey panel. The head and the paragraph sit in the 5fr
   column; the bullets sit beside them in two columns in the 7fr column.
   custom code: display:contents on the rich text block, so its paragraph and its list become grid items */
.cs-feature-copy.is-text{grid-column:1/-1;grid-row:1/-1;position:static;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto auto 1fr;column-gap:80px;padding:48px 56px;border-radius:14px;background:var(--grey-100)}
.cs-feature-copy.is-text .cs-feature-head{grid-column:1;grid-row:1}
.cs-feature-copy.is-text .cs-feature-body{display:contents}
.cs-feature-copy.is-text .cs-feature-body p{grid-column:1}
.cs-feature-copy.is-text .cs-feature-body p:last-of-type{margin-bottom:0}
.cs-feature-copy.is-text .cs-feature-body ul{grid-column:2;grid-row:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 32px;margin:0;align-self:center}

/* ---------- mid-page call to action ---------- */
.cs-section.is-midcta{padding-top:0}
.cs-midcta{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:48px 56px;border-radius:24px;background-color:var(--black);background-image:radial-gradient(circle at 100% 0%,rgba(0,186,177,.3) 0%,rgba(0,186,177,0) 55%);color:var(--white)}
.cs-midcta-title{margin:0;font-size:32px;line-height:1.2;font-weight:700;color:var(--white)}
.cs-midcta-text{margin:12px 0 0;font-size:20px;line-height:1.5;color:var(--grey-200)}
.cs-midcta-button{flex:none}

/* ---------- systems diagram ---------- */
/* a diagram shows at most 80% of the window height, centered, so a tall diagram's lettering stays near body size;
   render.py sets the frame width from the image's shape (an inline style, like the accent dot). The lightbox opens
   it at full size */
.cs-diagram{display:flex;flex-direction:column;align-items:center;margin:0 0 56px}
.cs-diagram-link{position:relative;display:block;max-width:100%;overflow:hidden;border:1px solid var(--grey-200);border-radius:8px;background:var(--white);color:var(--black);cursor:zoom-in;transition:box-shadow .2s}
.cs-diagram-link:hover{box-shadow:4px 4px 0 0 var(--eterna-blue)}
.cs-diagram-img{width:100%}
.cs-diagram .cs-caption{align-self:center;max-width:760px;text-align:center}
/* the tap hint under the diagram shows on phones only (767px and below) */
.cs-diagram-hint{display:none}

/* ---------- custom code: the lightbox. A modal <dialog> that render.py's script opens from any image link: the image
   fits the screen, "Actual size" (or a click on the image) shows it at its file size to scroll and pinch, Esc or Close
   shuts it and focus goes back to the link. Without the script the link opens the file. ---------- */
.cs-lightbox{width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:var(--black);color:var(--white)}
.cs-lightbox[open]{display:flex;flex-direction:column}
.cs-lightbox::backdrop{background:rgba(0,0,0,.5)}
.cs-lightbox-bar{display:flex;flex:none;align-items:center;gap:12px;padding:6px 5%;border-bottom:1px solid rgba(255,255,255,.12)}
.cs-lightbox-title{flex:1;min-width:0;margin:0;overflow:hidden;font-size:15px;line-height:1.4;color:var(--grey-200);white-space:nowrap;text-overflow:ellipsis}
.cs-lightbox-btn{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border:2px solid var(--white);border-radius:4px;background:transparent;color:var(--white);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.cs-lightbox-btn:hover{box-shadow:4px 4px 0 0 var(--eterna-blue)}
.cs-lightbox :focus-visible{outline-color:var(--eterna-blue)}
.cs-lightbox-view{display:flex;flex:1;min-height:0;overflow:auto;padding:16px;overscroll-behavior:contain}
.cs-lightbox-img{flex:none;max-width:100%;max-height:100%;margin:auto;background:var(--white);cursor:zoom-in}
.cs-lightbox.is-zoomed .cs-lightbox-img{max-width:none;max-height:none;cursor:zoom-out}

/* ---------- custom code: open-all buttons and the compact feature list. A page with more than 15 feature rows
   (render.py) shows each row as a <details>: the eyebrow and the title are the summary, the first row is open, and
   one button opens or closes them all. Its systems groups fold the same way. Print shows every row open. ---------- */
.cs-fold-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin:0 0 24px}
.cs-fold-note{margin:0;font-size:16px;line-height:1.5;color:var(--grey-400)}
.cs-features.is-compact{gap:0;margin-top:72px}
.cs-features.is-compact .cs-fold-bar{margin-bottom:16px}
.cs-ffold{border-top:1px solid var(--grey-200)}
.cs-ffold:last-child{border-bottom:1px solid var(--grey-200)}
.cs-ffold-sum{display:block;padding:24px 56px 24px 0;list-style:none;cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2300756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center/24px 24px}
.cs-ffold-sum::-webkit-details-marker{display:none}
.cs-ffold[open] > .cs-ffold-sum{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 12.5l5-5 5 5' fill='none' stroke='%2300756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.cs-ffold-sum:hover .cs-feature-title{color:var(--teal-ink)}
.cs-ffold-sum .cs-feature-eyebrow{margin-bottom:6px}
.cs-ffold-sum .cs-feature-title{margin:0;font-size:24px;line-height:1.25}
.cs-ffold > .cs-feature{padding:8px 0 56px}
.cs-fold.is-compact > .cs-fold-sum{cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2300756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 4px top 26px/20px 20px}
.cs-fold.is-compact[open] > .cs-fold-sum{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 12.5l5-5 5 5' fill='none' stroke='%2300756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.cs-fold.is-compact > .cs-fold-sum h3{padding-right:36px}
.cs-rt-ledger .cs-fold.is-compact:not([open]) > .cs-fold-sum{float:none;width:auto}

/* ---------- fold rows: systems groups and catalogue items are <details>. Open on a desktop and in print; on a
   phone screen they fold into rows that open on a tap (767px and below). No script.
   custom code: the ::details-content rules. Each sits in its own rule, because a browser without
   ::details-content drops the whole rule; such a browser shows the rows folded, and a tap opens them. ---------- */
.cs-fold-sum{display:block;list-style:none;cursor:default}
.cs-fold-sum::-webkit-details-marker{display:none}
.cs-fold::details-content{content-visibility:visible}
/* systems: the group name floats in the 240px label column, the list sits beside it (the ledger look) */
.cs-rt-ledger .cs-fold{grid-column:1/-1}
.cs-rt-ledger .cs-fold-sum{float:left;width:240px}
.cs-rt-ledger .cs-fold ul{margin-left:288px}
.cs-fold-text{display:block}

/* ---------- phone gallery: a collection list on the multi-image field (no captions) ---------- */
.cs-gallery{display:flex;flex-wrap:wrap;justify-content:center;gap:40px 24px;margin:48px 0 0;padding:0;list-style:none}
.cs-gallery-item{display:flex;flex:0 1 190px;align-items:center;justify-content:center}

/* ---------- testimonials: the live testimony box; two quotes sit side by side ---------- */
.cs-quotes{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0 0;padding:0;list-style:none}
/* a single quote fills the container; only its text stops at 820px */
.cs-quotes-item{display:flex;flex:1 1 440px;min-width:0}
.cs-quote{display:flex;flex-direction:column;width:100%;padding:48px;border-radius:8px;background:var(--teal-tint)}
.cs-quote-icon{display:block;flex:none;width:40px;height:40px;margin-bottom:24px;color:var(--eterna-blue)}
.cs-quote-text{flex:1;margin:0}
.cs-quote-text p{max-width:820px;margin:0;font-size:24px;line-height:1.45;font-weight:600;color:var(--black)}
.cs-quote-person{margin-top:28px;font-size:16px;line-height:1.5;color:var(--grey-400)}
.cs-quote-name{display:block;font-weight:700;color:var(--black)}
.cs-quote-role{display:block}

/* ---------- related work: the live listing card. The title comes first in the markup; the image and the tag show on top ---------- */
.cs-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
.cs-related-item{display:flex}
.cs-card{display:flex;flex-direction:column;width:100%;overflow:hidden;border-radius:14px;background:var(--white);color:var(--black);text-decoration:none;box-shadow:0 2px 10px -5px #000;transition:box-shadow .2s}
.cs-card:hover{box-shadow:0 5px 10px -5px #000}
/* the card image keeps the 16:9 shape of the card files, so a logo tile shows whole, never cropped */
.cs-card-media{order:-1;aspect-ratio:16/9;overflow:hidden;background:var(--grey-200)}
.cs-card-img{width:100%;height:100%;object-fit:cover;object-position:center}
.cs-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:12px;padding:20px 24px 24px}
/* one accessible tag pair for every category: teal ink on the teal tint, 5.3:1 */
.cs-card-tag{order:-1;margin:0;padding:2px 10px;border:1px solid var(--teal-tint-2);border-radius:4px;background:var(--teal-tint);color:var(--teal-ink);font-size:14px;line-height:24px;font-weight:700}
/* custom code: the same line clamps on every card (title 2 lines, summary 7), so a long text never makes one card
   taller than its row; the clamp is a guard and the current texts fit inside it */
.cs-card-title{display:-webkit-box;margin:0;overflow:hidden;font-size:21px;line-height:1.2;font-weight:700;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.cs-card-text{display:-webkit-box;margin:0;overflow:hidden;font-size:16px;line-height:1.5;color:var(--grey-400);-webkit-box-orient:vertical;-webkit-line-clamp:7}
.cs-card-more{margin:auto 0 0;padding-top:8px;font-size:16px;font-weight:600;color:var(--teal-ink);text-decoration:underline}

/* ---------- call to action: the live CTA card; in Webflow the white panel holds the shared calendar embed ---------- */
.cs-cta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;padding:80px;border-radius:24px;background-color:var(--black);background-image:linear-gradient(135deg,var(--black) 0%,var(--black) 38%,var(--deep-teal) 78%,var(--eterna-blue) 135%);color:var(--white)}
.cs-cta-title{margin:0;font-size:48px;line-height:1.1;font-weight:700;color:var(--white)}
.cs-cta-text{margin:24px 0 0;font-size:20px;line-height:1.5;color:var(--grey-200)}
.cs-cta-panel{padding:36px;border-radius:20px;background:var(--white);color:var(--black)}
.cs-cta-panel-title{margin:0;font-size:24px;line-height:1.25;font-weight:700}
.cs-cta-panel-sub{margin:4px 0 24px;font-size:16px;line-height:1.5;color:var(--grey-400)}
.cs-cta-list{display:grid;gap:14px;margin:0 0 32px;padding:0;list-style:none}
.cs-cta-item{display:flex;align-items:center;gap:12px;font-size:18px;line-height:1.4}
.cs-cta-icon{flex:none;width:24px;height:24px;color:var(--teal-ink)}
.cs-cta-button{width:100%}

/* ---------- footer: echo of the shared component ---------- */
.site-footer{padding:56px 5% 16px;background:var(--black);color:var(--grey-200)}
.site-footer-inner{max-width:1300px;margin:0 auto}
.site-footer-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:48px}
.site-footer-logo{display:inline-flex;align-items:center;min-height:44px}
.site-footer-logo:focus-visible{outline-color:var(--eterna-blue)}
.site-footer-logo img{width:181px}
.site-footer-social{display:flex;gap:4px;margin:12px 0 0 -8px;padding:0;list-style:none}
.site-footer-social-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--white)}
.site-footer-social-link:hover{color:var(--eterna-blue)}
.site-footer-social-link:focus-visible{outline-color:var(--eterna-blue)}
.site-footer-social-icon{width:28px;height:28px}
.site-footer-badges{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:32px}
.site-footer-badge{width:auto;height:64px}
.site-footer-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.site-footer-title{margin:0 0 8px;font-size:14px;line-height:1.35;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--white)}
.site-footer-list{margin:0;padding:0;list-style:none}
.site-footer-link{display:inline-flex;align-items:center;min-height:44px;color:var(--grey-200);font-size:16px;line-height:1.2;text-decoration:none}
.site-footer-link:hover{color:var(--eterna-blue)}
.site-footer-link:focus-visible{outline-color:var(--eterna-blue)}
.site-footer-link.is-small{font-size:14px}
.site-footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;margin-top:48px;padding-top:12px;border-top:2px solid rgba(0,186,177,.15)}
.site-footer-copy{margin:0;font-size:14px;line-height:1.4;font-weight:700;color:var(--white)}

/* custom code: the focus ring on the deep teal band and the dark cards */
.cs-section--teal :focus-visible,.cs-midcta :focus-visible,.cs-cta-copy :focus-visible{outline-color:var(--eterna-blue)}

/* ---------- 1279px and below ---------- */
@media (max-width:1279px){
  .site-nav-link{font-size:16px}
  .cs-h2{font-size:32px}
  /* a text row: the head, the paragraph, then the bullets in two columns under it */
  .cs-feature-copy.is-text{display:block}
  .cs-feature-copy.is-text .cs-feature-head{margin-bottom:20px}
  .cs-feature-copy.is-text .cs-feature-body{display:block}
  .cs-feature-copy.is-text .cs-feature-body ul{margin-top:24px}
}

/* ---------- 992px to 1279px: the nav keeps the logo, the four links and Book a Call; Careers and Login stay in the
   phone menu's list (custom code: the .is-nav-extra combo) ---------- */
@media (min-width:992px) and (max-width:1279px){
  .site-nav{gap:16px}
  .site-nav-logo img{width:140px}
  .is-nav-extra{display:none}
}

/* ---------- 991px and below (tablet) ---------- */
@media (max-width:991px){
  /* the live nav collapses to the logo and a 48px menu button, with no Book a Call button */
  .site-nav{justify-content:space-between}
  .site-nav-links,.site-nav-actions{display:none}
  .site-nav-menu{display:inline-flex}
  .site-menu:not([hidden]){display:block}
  .cs-h1{font-size:40px}
  .cs-stats,.cs-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cs-stat{padding-bottom:24px}
  .cs-section{padding-top:72px;padding-bottom:72px}
  .cs-section{scroll-margin-top:-72px} /* custom code */
  .cs-section.is-facts{padding-top:48px;padding-bottom:0}
  .cs-section.is-midcta{padding-top:0}
  .cs-index-inner{grid-template-columns:minmax(0,1fr)}
  .cs-index-book{justify-self:start}
  .cs-rt-grid--3 li,.cs-rt-grid--3 li:first-child:nth-last-child(4),.cs-rt-grid--3 li:first-child:nth-last-child(4) ~ li{grid-column:span 6}
  .cs-rt-ledger{grid-template-columns:200px minmax(0,1fr);column-gap:32px}
  .cs-rt-ledger .cs-fold-sum{width:200px}
  .cs-rt-ledger .cs-fold ul{margin-left:232px}
  /* feature rows stack: title, then the shots, then the text */
  .cs-features{gap:88px;margin-top:88px}
  .cs-feature,.cs-feature:nth-child(even){grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "media" "body";row-gap:24px}
  .cs-feature-copy{display:contents;position:static} /* custom code: display:contents */
  .cs-feature-copy.is-text{padding:40px}
  /* stacked rows keep the desktop order: slot 1 (is-lead) keeps its full width, the next shots sit two
     across, and a shot left alone on its line fills it, so no later shot is bigger than the lead */
  .cs-media{gap:16px}
  .cs-shot{flex-basis:calc(50% - 8px)}
  .cs-feature-title{margin-bottom:0;font-size:28px}
  .cs-feature-body p{font-size:17px}
  .cs-feature-body li{font-size:16px}
  .cs-midcta{padding:40px}
  .cs-container.is-split{grid-template-columns:minmax(0,1fr)}
  .cs-related{grid-template-columns:minmax(0,1fr)}
  .cs-card{flex-direction:row}
  .cs-card-media{flex:0 0 38%;height:auto;min-height:200px;aspect-ratio:auto}
  .cs-ffold-sum .cs-feature-title{font-size:22px}
  .cs-cta{grid-template-columns:minmax(0,1fr);gap:40px;padding:64px}
  .site-footer-top{grid-template-columns:minmax(0,1fr)}
}

/* ---------- 767px and below (phones): proof under the H1, compact divided lists ---------- */
@media (max-width:767px){
  .cs-hero-copy{align-items:flex-start;text-align:left}
  .cs-eyebrow{justify-content:flex-start}
  .cs-h1{font-size:36px}
  /* the four stats come straight after the H1, then the buttons, then the lede: proof and a booking
     route both sit in the first phone screen (the DOM order and the focus order do not change) */
  .cs-stats{margin-top:28px}
  .cs-hero-actions{order:2;justify-content:flex-start;margin-top:28px}
  .cs-lede{order:3;margin-top:28px;font-size:18px}
  .cs-stat-label{margin-left:0}
  .cs-stats.has-long .cs-stat-value{font-size:32px}
  .cs-stats .cs-stat-value.is-long{font-size:26px}
  .cs-index-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .cs-chip{width:100%;padding:0 10px;font-size:15px;white-space:normal;text-align:center}
  .cs-index-book{justify-self:stretch}
  .cs-head{margin-bottom:24px}
  .cs-rt p{font-size:18px}
  .cs-media{gap:12px}
  /* a browser shot fills the row on a phone; phone and store-art shots still sit two across */
  .cs-shot{flex-basis:100%}
  .cs-shot.is-phone,.cs-shot.is-art{flex-basis:calc(50% - 6px)}
  .cs-feature-body p{font-size:17px}
  .cs-feature-copy.is-text{padding:28px 24px}
  .cs-feature-copy.is-text .cs-feature-body ul{grid-template-columns:minmax(0,1fr);gap:12px}
  .cs-diagram-hint{display:block;margin:8px 0 0;font-size:14px;line-height:1.45;font-weight:600;color:var(--teal-ink);text-align:center}
  .cs-ffold-sum{padding:20px 44px 20px 0;background-position:right 4px center}
  .cs-ffold > .cs-feature{padding-bottom:40px}
  /* every ruled grid becomes a compact divided list */
  .cs-rt-grid ul{grid-template-columns:minmax(0,1fr);gap:0;margin-top:28px;border-bottom:1px solid var(--grey-200)}
  .cs-rt-grid li,.cs-rt-grid--3 li,.cs-rt-grid--3 li:first-child:nth-last-child(4),.cs-rt-grid--3 li:first-child:nth-last-child(4) ~ li{grid-column:auto;padding:16px 0;border-top:1px solid var(--grey-200);font-size:15px}
  .cs-rt-grid.is-dark ul,.cs-rt-grid.is-dark li{border-color:var(--grey-400)}
  .cs-rt-results ul,.cs-rt-results li{border-color:var(--eterna-blue)}
  .cs-rt-results ul{margin-bottom:32px}
  .cs-rt-results li{border-top-width:1px;font-size:16px}
  .cs-rt-grid li strong{margin-bottom:4px;font-size:18px}
  .cs-rt-results li strong{font-size:20px}
  .cs-rt-grid li em{margin-bottom:4px}
  /* ledgers stack; Systems becomes a one-column ruled list, no sideways scrolling */
  .cs-rt-ledger{grid-template-columns:minmax(0,1fr)}
  .cs-rt-ledger p{margin-bottom:24px}
  .cs-rt-ledger h3,.cs-rt-ledger ul{grid-column:1}
  .cs-rt-ledger h3{padding:20px 0 12px}
  .cs-rt-ledger ul{padding:0 0 20px;border-top:0}
  .cs-rt-ledger--systems h3,.cs-rt-ledger--stack h3{padding-bottom:8px;font-size:14px;line-height:1.35;letter-spacing:1px;text-transform:uppercase;color:var(--teal-ink)}
  .cs-rt-ledger--systems ul{grid-template-columns:minmax(0,1fr);gap:0;padding-bottom:12px}
  .cs-rt-ledger--systems li{max-width:none;padding:12px 0;border-top:1px solid var(--grey-200);font-size:15px;line-height:1.45}
  .cs-rt-ledger--systems li strong{font-size:16px}
  .cs-rt-ledger .cs-fold-sum{float:none;width:auto}
  .cs-rt-ledger .cs-fold ul{margin-left:0}
  .cs-stack{grid-template-columns:minmax(0,1fr);gap:20px}
  .cs-stack-group{padding:24px 20px 28px}
  .cs-midcta{flex-direction:column;align-items:flex-start;gap:24px}
  .cs-quote{padding:36px}
  .cs-quote-text p{font-size:21px}
  /* a card on a phone: the whole image, full width, above the text */
  .cs-card{flex-direction:column}
  .cs-card-media{flex:none;height:auto;min-height:0;aspect-ratio:16/9}
  .cs-cta-title{font-size:36px}
  .site-footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
}

/* ---------- 479px and below (small phones) ---------- */
@media (max-width:479px){
  body{font-size:17px}
  .site-nav{gap:12px;padding:4px 0}
  .site-nav-logo img{width:128px}
  .cs-hero{padding-top:88px}
  .cs-eyebrow{margin-bottom:4px}
  .cs-eyebrow-sep{display:none}
  .cs-eyebrow-industry{gap:8px;min-height:24px}
  .cs-h1{font-size:32px;line-height:1.15}
  .cs-stats{margin-top:20px}
  .cs-stat{padding:12px 10px}
  .cs-stat-value,.cs-stats.has-long .cs-stat-value{font-size:clamp(26px,8vw,30px)}
  .cs-stats .cs-stat-value.is-long{font-size:clamp(18px,5.6vw,26px)}
  .cs-stat-label{margin-top:6px;font-size:14px;line-height:1.35}
  .cs-lede{margin-top:24px;font-size:17px}
  .cs-hero-actions{flex-direction:column;align-self:stretch;gap:12px;margin-top:24px}
  .button-primary-light,.button-secondary-dark{font-size:18px}
  .hug{font-size:16px}
  .cs-hero-media{padding-top:32px}
  .cs-shot-bar{height:16px;gap:4px;padding:0 8px}
  .cs-shot-dot{width:5px;height:5px}
  .cs-section.is-facts{padding-top:32px;padding-bottom:0}
  .cs-fact{padding:14px 12px}
  .cs-fact-value{margin-top:6px;font-size:15px;line-height:1.35}
  .cs-index{padding-top:24px}
  .cs-section{padding-top:56px;padding-bottom:56px}
  .cs-section{scroll-margin-top:-56px} /* custom code */
  .cs-section.is-midcta{padding-top:0}
  .cs-kicker,.cs-feature-eyebrow{margin-bottom:10px}
  .cs-h2{font-size:26px;line-height:1.15}
  .cs-rt p{font-size:17px}
  .cs-rt-ledger h3{font-size:17px}
  .cs-rt-ledger--timeline li{margin-bottom:6px;font-size:15px}
  .cs-rt-ledger--stack li{padding:4px 10px;font-size:14px}
  .cs-stack-group{padding:20px 16px 24px}
  .cs-stack-title{margin-bottom:16px;padding-bottom:12px;font-size:17px}
  .cs-stack-list{gap:8px}
  .cs-tech{gap:8px;min-height:40px;padding:5px 12px 5px 5px}
  .cs-tech.is-plain{padding-left:12px}
  .cs-tech-mark{width:28px;height:28px}
  .cs-tech-logo{width:18px;height:18px}
  .cs-tech-name{font-size:14px}
  .cs-features{gap:64px;margin-top:56px}
  .cs-feature,.cs-feature:nth-child(even){row-gap:16px}
  .cs-feature-title{font-size:24px;line-height:1.2}
  .cs-feature-body p{font-size:16px;line-height:1.5}
  .cs-feature-body ul{gap:8px;margin-top:16px}
  .cs-feature-body li{padding-left:26px;font-size:15px;background-size:17px 17px}
  .cs-shot.is-phone{padding:16px 12px}
  .cs-feature-copy.is-text{padding:24px 20px}
  .cs-phone{border-width:4px;border-radius:20px}
  .cs-caption{margin-top:8px;font-size:13px}
  .cs-diagram{margin-bottom:32px}
  .cs-ffold-sum .cs-feature-title{font-size:19px}
  .cs-lightbox-bar{gap:8px;padding:6px 12px}
  .cs-lightbox-btn{padding:0 10px;font-size:15px}
  .cs-lightbox-view{padding:8px}
  .cs-gallery{gap:24px 16px;margin-top:28px}
  .cs-gallery-item{flex-basis:calc(50% - 8px)}
  .cs-midcta{padding:28px 20px;border-radius:14px}
  .cs-midcta-title{font-size:24px}
  .cs-midcta-text{font-size:17px}
  .cs-midcta-button{align-self:stretch}
  .cs-quote{padding:24px}
  .cs-quote-icon{width:32px;height:32px;margin-bottom:16px}
  .cs-quote-text p{font-size:18px}
  .cs-related{gap:16px}
  .cs-card-body{gap:6px;padding:14px 14px 16px}
  .cs-card-tag{line-height:20px}
  .cs-card-title{font-size:17px}
  .cs-card-text{font-size:14px;line-height:1.4}
  .cs-card-more{padding-top:4px;font-size:14px}
  .cs-cta{gap:28px;padding:32px 20px}
  .cs-cta-title{font-size:28px}
  .cs-cta-text{margin-top:16px;font-size:17px}
  .cs-cta-panel{padding:24px 20px}
  .cs-cta-panel-title{font-size:20px}
  .cs-cta-item{font-size:16px}
  .site-footer{padding-top:40px}
  .site-footer-logo img{width:150px}
  .site-footer-badges{gap:12px;margin-top:20px}
  .site-footer-badge{height:48px}
  .site-footer-link{font-size:15px}
  .site-footer-bottom{flex-direction:column;align-items:flex-start;margin-top:32px}
}

/* ---------- 480px and below: a store-art shot takes the full row width ---------- */
@media (max-width:480px){
  .cs-shot.is-art{flex-basis:100%;max-width:none}
}

/* ---------- phone screens (767px and below): systems groups and catalogue items fold into rows that open on a tap.
   screen only, so a printed page shows every row open ---------- */
@media screen and (max-width:767px){
  .cs-fold-sum{padding-right:36px;cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2300756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 4px center/20px 20px}
  .cs-fold[open] > .cs-fold-sum{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 12.5l5-5 5 5' fill='none' stroke='%2300756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
  /* a systems row: the rule runs the full width, over the chevron too */
  .cs-rt-ledger .cs-fold-sum{border-top:1px solid var(--grey-200)}
  .cs-rt-ledger .cs-fold-sum h3{border-top:0}
  /* a catalogue row: the whole ruled row is the tap target */
  .cs-rt-grid .cs-fold-sum{margin:-16px 0;padding-top:16px;padding-bottom:16px}
  .cs-rt-grid .cs-fold-sum strong{margin-bottom:0}
  .cs-rt-grid .cs-fold-text{padding-top:6px}
}
@media screen and (max-width:767px){
  .cs-fold:not([open])::details-content{content-visibility:hidden}
}
/* custom code: a compact page's systems groups fold on every screen width (each rule alone, see above) */
@media screen{
  .cs-fold.is-compact:not([open])::details-content{content-visibility:hidden}
}
@media print{
  .cs-ffold::details-content{content-visibility:visible}
}
@media print{
  .cs-fold-bar,.cs-zoom{display:none}
}

/* ---------- 992px and up (desktop): the "On this page" bar sticks under the 56px fixed nav, so the two bars cover
   109px. Its label is hidden (the nav keeps its aria-label "On this page"), and the chips stay on one row: where
   they do not fit, the row scrolls sideways under a fade (custom code: the mask and the hidden scrollbar), and a
   focused chip scrolls into view. scroll-padding keeps a chip target and a focused element clear of both bars
   (WCAG 2.4.11), and a section label lands 32px under them. The sticky feature copy sits below the bar. ---------- */
@media (min-width:992px){
  .cs-index{position:sticky;top:56px;z-index:40;padding:4px 5%;background:var(--white);border-bottom:1px solid var(--line)}
  .cs-index-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .cs-index-book{display:none} /* the nav bar above it always shows Book a Call at this width */
  .cs-index-list{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
  .cs-index-list::-webkit-scrollbar{display:none}
  .cs-index-item{flex:none}
  .cs-index-item:last-child{padding-right:40px}
  .cs-index .cs-chip:focus-visible{outline-offset:-4px}
  html{scroll-padding-top:141px}
  .cs-feature-copy{top:133px}
}

@media (prefers-reduced-motion:reduce){
  .button-primary-light,.button-primary-dark,.button-secondary-dark,.cs-card,.cs-chip,.cs-shot-frame,.cs-phone,.cs-art,.cs-diagram-link,.cs-zoom{transition:none}
}
