/* Sizes carry !important: studioross.com sets every line inside the sheet
   to 15px !important, and an id selector outranks that rule. */
/* ── Gravolo band (2026-11-30): one big white card with rounded corners
   and a drop shadow, inside the page gutters, one screen tall on desktop.
   Left: the store header (icon + name), summary, specs and link, grouped
   and centred on the card's height. Right: the level, centred too.
   Phones stack it: header, summary, level, specs. ── */
#gravolo {
  scroll-margin-top: var(--lr-nav-h, var(--nav-h, 0px));
  --gv-ink: #191919; --gv-dim: rgba(25,25,25,0.55); --gv-hair: rgba(25,25,25,0.14);
  padding: 24px 0;
  position: relative; isolation: isolate;
}
/* the page's own field behind the card, edge to edge */
#gravolo::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; background: var(--bg, #191919); z-index: -1; }
#gravolo .gv {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "text .";
  align-items: center;
  column-gap: 56px;
  /* a card, not a screen: about three quarters of the viewport's height,
     centred in the band, so the page shows above and below it */
  height: min(76svh, 720px);
  min-height: 480px;
  margin: 0 clamp(0px, 3vw, 48px);
  padding: 48px clamp(32px, 4.5vw, 80px);
  box-sizing: border-box;
  background: #fff; color: var(--gv-ink);
  border-radius: 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18), 0 24px 64px rgba(0,0,0,0.35);
}
#gravolo .gv-text { grid-area: text; }
#gravolo .gv-app { display: flex; align-items: center; gap: 0.3em; font-size: clamp(34px, 3.3vw, 48px) !important; }
#gravolo .gv-icon { font-size: inherit !important; width: 1.45em; height: 1.45em; border-radius: 22.37%; outline: 1px solid var(--gv-hair); outline-offset: -1px; flex: none; }
#gravolo .gv-name { font-family: 'Geist', system-ui, sans-serif; font-weight: 700; font-size: 1em !important; line-height: 1 !important; letter-spacing: -0.02em; margin: 0; color: var(--gv-ink); }
#gravolo .gv-sum { margin: 36px 0 0; max-width: 22em; font-size: clamp(17px, 1.45vw, 21px) !important; line-height: 1.4 !important; letter-spacing: -0.01em; color: var(--gv-ink); text-wrap: pretty; }
#gravolo .gv-foot { margin-top: 40px; }
#gravolo .gv-spec { margin: 0 0 14px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px !important; line-height: 1.7 !important; color: var(--gv-dim); }
#gravolo .gv-cta { color: var(--gv-ink); text-decoration: none; font-size: 14px !important; font-weight: 600; }
/* hover dims by colour, never opacity: opacity would give the link its own
   stacking layer, the stage would cover the card-wide hit area, the hover
   would drop, and the cursor would flicker */
#gravolo .gv-cta:hover { color: rgba(25,25,25,0.6); }
#gravolo .gv-short { display: none; }
/* the whole card is one link to the case study on every screen: the link's
   hit area stretches over the card, and with a mouse the round cursor
   reads VIEW over it (the cursor script lists a.gv-cta). The level still
   leans, because pointer moves bubble up to the section. */
#gravolo .gv-cta::after { content: ''; position: absolute; inset: 0; z-index: 2; }
#gravolo .gv { -webkit-tap-highlight-color: transparent; }
#gravolo .gv-cta span { font-size: inherit !important; line-height: inherit !important; }
/* desktop: the level's stage covers the card's right side edge to edge,
   so plate.js can inset the board's base evenly from the card's top,
   bottom and right */
#gravolo .gv { position: relative; }
#gravolo .gv-stage { grid-area: auto; position: absolute; top: 0; bottom: 0; right: 0; left: 46%; min-height: 0; pointer-events: none; }
/* (grid-area auto: an absolutely placed grid item with an area would be
   positioned inside that cell, not the card) */
#gravolo .gv-stage canvas { position: absolute; inset: 0; display: block; pointer-events: none; }
/* desktop: the band fills the screen under the nav and centres the card,
   so a nav click or a snap shows the whole card with air around it */
@media (min-width: 900px) {
  #gravolo { min-height: calc(100svh - var(--lr-nav-h, var(--nav-h, 51px))); display: flex; align-items: center; box-sizing: border-box; }
  #gravolo .gv { flex: 1; }
}
@media (max-width: 899px) {
  /* phones and small tablets: the app icon in the card's top-left corner
     with the name beside it. Then the level, turned a quarter left, still, and
     as wide as the card; then the
     description and "View more". No specs. */
  /* 72px of clear space above and below the card (other sections sit 48px
     apart; the card gets a little more air). Services already ends with 48px
     of its own padding, so only 24px is added on top here. */
  #gravolo { padding: 24px 0 72px; }
  /* lironross.com: its sections sit 90px apart and Experiments brings its
     own 90px on top, so the card gets 90px above and nothing extra below */
  #gravolo.lr { padding: 90px 0 0; }
  #gravolo .gv {
    position: relative;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "icon name" "stage stage" "sum sum" "foot foot";
    column-gap: 12px;
    height: auto; min-height: 0; max-height: none;
    margin: 0 6px;
    padding: 20px 20px 24px;
    border-radius: 24px;
  }
  #gravolo .gv-text, #gravolo .gv-app { display: contents; }
  #gravolo .gv-icon { grid-area: icon; justify-self: start; width: 40px; height: 40px; }
  /* the level runs to the card's edges, its own white is the card's white */
  #gravolo .gv-stage { grid-area: stage; position: relative; top: auto; bottom: auto; right: auto; left: auto; height: auto; width: auto; align-self: stretch; margin: 32px -14px 20px; }

  #gravolo .gv-name { grid-area: name; align-self: center; font-size: 26px !important; font-weight: 700; line-height: 1 !important; letter-spacing: -0.02em; margin: 0; }
  #gravolo .gv-sum { grid-area: sum; margin: 0; font-size: 12.5px !important; line-height: 1.45 !important; }
  #gravolo .gv-cta { font-size: 12.5px !important; }
  #gravolo .gv-foot { grid-area: foot; margin-top: 18px; }
  #gravolo .gv-spec { display: none; }
  #gravolo .gv-long { display: none; }
  #gravolo .gv-short { display: inline; }
}
