/* Service group pages: Strategy & Brand (.sg-brand), Systems & Growth (.sg-systems) and the added sections of
   Design & Build (.sg-build). Shared structure, three accents and type treatments. Every rule sits under .sg-page. */
@font-face { font-family: "SG Serif"; src: url("/assets/fonts/source-serif-4/SourceSerif4-Latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Serif"; src: url("/assets/fonts/source-serif-4/SourceSerif4-LatinExt.woff2") format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Pixel"; src: url("/assets/fonts/geist-pixel/GeistPixel-Square.woff2") format("woff2"); font-weight: 400; font-display: swap; }

body.sg-page {
  --sg-edge: 16px;
  --sg-ease: cubic-bezier(.16, 1, .3, 1);
  --sg-gap: 8px;
  --sg-bg: #f5f4f0;
  --sg-stage: #ecebe7;
  --sg-ink: #0a0a0a;
  --sg-muted: #5c5a55;
  --sg-line: #d9d6cd;
  --sg-accent: #dd3d06;
  --sg-accent-text: #b93405;
  --sg-on-accent: #fff;
  --sg-fill: #c43706;
  --sg-head: Georgia, serif;
  --sg-label: ui-monospace, monospace;
  background: var(--sg-bg);
  color: var(--sg-ink);
}
body.sg-brand {
  --sg-head: "SG Serif", Georgia, "Times New Roman", serif;
  --sg-label: "SG Serif", Georgia, serif;
}
body.sg-systems {
  --sg-bg: #11110f;
  --sg-stage: #1b1b18;
  --sg-ink: #f3f0e9;
  --sg-muted: #aaa49b;
  --sg-line: #34332e;
  --sg-accent: #dd3d06;
  --sg-accent-text: #ff7a4d;
  --sg-head: "LER Display", "LER Approach", sans-serif;
  --sg-label: "SG Pixel", ui-monospace, monospace;
}
body.sg-build {
  --sg-edge: 16px;
  --sg-accent: #486579;
  --sg-accent-text: #1a3448;
  --sg-on-accent: #fff;
  --sg-head: "LER Build Pixel", ui-monospace, monospace;
  --sg-label: "LER Build Pixel", ui-monospace, monospace;
}

/* sticky needs clip rather than hidden (same pattern as the Web development page) */
html:has(body.sg-page:not(.nav-open):not(.search-open)), body.sg-page:not(.nav-open):not(.search-open) { overflow-x: clip; }
body.sg-page:not(.nav-open):not(.search-open) { overflow-y: visible; }
.sg-page .page-shell { overflow: clip; }
.sg-page #main-content { margin: 0; max-width: none; padding: 0; background: var(--sg-bg); }
.sg-page #main-content .sg-sec, .sg-page #main-content .sg-hero {
  margin: 0;
  max-width: none;
  padding-inline: var(--sg-edge);
  color: var(--sg-ink);
  scroll-margin-top: 96px;
}
.sg-page #main-content :where(h1, h2, h3, p, ul, ol, li, figure, blockquote, dl, dd, fieldset, legend) { margin: 0; }
.sg-page #main-content :where(ul, ol) { padding: 0; }
.sg-page #main-content :where(ul, ol) { list-style: none; }
.sg-page #main-content .sg-sec a, .sg-page #main-content .sg-hero a { color: inherit; }
.sg-page #main-content :where(.sg-sec, .sg-hero) :where(h1, h2, h3) { font-weight: 400; text-transform: none; }

.sg-skip { position: fixed; z-index: 99999; top: 8px; left: 8px; padding: 12px; background: #fff; color: #111; transform: translateY(-180%); }
.sg-skip:focus { transform: none; }
.sg-page #main-content :focus-visible { outline: 2px solid var(--sg-accent-text); outline-offset: 3px; }
.sg-systems #main-content :focus-visible { outline-color: #ff9a74; }

/* ---------- shared pieces ---------- */
.sg-page #main-content .sg-sec { padding-block: clamp(48px, 6vw, 100px); }
.sg-page #main-content .sg-label {
  color: var(--sg-muted);
  font: 400 14px/1.2 var(--sg-label);
  letter-spacing: .02em;
}
.sg-brand #main-content .sg-label { font: 600 12px/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.sg-page #main-content .sg-h2 {
  color: var(--sg-ink);
  font-family: var(--sg-head) !important;
  font-weight: 400 !important;
  font-size: clamp(32px, 3.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.sg-brand #main-content .sg-h2 { font-weight: 500 !important; letter-spacing: -.02em; }
.sg-systems #main-content .sg-h2 { font-weight: 600 !important; }
.sg-page #main-content .sg-lead { max-width: 42ch; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.4; }
.sg-page #main-content .sg-small { color: var(--sg-muted); font-size: 14px; line-height: 1.45; }
.sg-page #main-content a.sg-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: var(--ler-action-radius, 8px);
  background: var(--ler-action-primary, #c43706);
  color: #fff;
  font: 600 15px/1.15 system-ui, sans-serif;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.sg-build #main-content a.sg-cta { font: 400 15px/1.15 var(--sg-label); }
.sg-systems #main-content a.sg-cta { font: 400 14px/1.15 var(--sg-label); }
.sg-cta .site-icon, .sg-text-link .site-icon, .sg-back .site-icon { width: 15px; height: 15px; flex: none; }
.sg-cta:is(:hover, :focus-visible) { background: #a92f04; }
.sg-cta:is(:hover, :focus-visible) .site-icon { transform: translate(2px, -2px); }
.sg-cta .site-icon, .sg-text-link .site-icon { transition: transform .25s; }
.sg-page #main-content a.sg-text-link, .sg-page #main-content a.sg-back {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  text-decoration: none;
}
.sg-page #main-content a.sg-back { color: var(--sg-muted); font-size: 15px; }
.sg-text-link:is(:hover, :focus-visible), .sg-back:is(:hover, :focus-visible) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.sg-text-link:is(:hover, :focus-visible) .site-icon { transform: translate(2px, -2px); }

/* line-mask title entrance (Odama), CSS only so nothing waits for a script */
.sg-mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.sg-mask > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.ler-quick-mode) .sg-mask > span { animation: sg-line-up 1.1s var(--sg-ease) both; }
  html:not(.ler-quick-mode) .sg-mask:nth-child(2) > span { animation-delay: .09s; }
}
@keyframes sg-line-up { from { transform: translateY(104%); } to { transform: none; } }

/* ---------- reveal on scroll (added by the script only when motion is allowed) ---------- */
html.sg-reveal-ready .sg-reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
html.sg-reveal-ready .sg-reveal { transition: opacity .7s var(--sg-ease), transform .7s var(--sg-ease); transition-delay: var(--sg-d, 0s); }

/* ---------- hero ---------- */
.sg-page #main-content .sg-hero { padding-top: clamp(96px, 9vw, 150px) !important; padding-bottom: clamp(16px, 2.4vw, 40px) !important; }
.sg-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sg-gap); row-gap: 26px; align-items: end; }
.sg-hero__title { grid-column: 1 / -1; display: grid; gap: 14px; }
.sg-hero__grid > .sg-back { grid-column: 1 / -1; justify-self: start; }
.sg-page #main-content .sg-hero h1 {
  color: var(--sg-ink);
  font-family: var(--sg-head) !important;
  line-height: .94;
  text-wrap: balance;
}
.sg-brand #main-content .sg-hero h1 { font-weight: 500 !important; font-size: clamp(52px, 10.4vw, 224px); letter-spacing: -.045em; }
.sg-brand #main-content .sg-hero h1 span { font-family: "SG Serif", Georgia, serif !important; font-weight: 500 !important; }
.sg-brand .sg-amp { color: var(--sg-accent) !important; }
.sg-systems #main-content .sg-hero h1 { font-weight: 600 !important; font-size: clamp(50px, 9.6vw, 200px); letter-spacing: -.05em; }
.sg-systems #main-content .sg-hero h1 span { font-family: "LER Display", sans-serif !important; font-weight: 600 !important; }
.sg-hero__copy { grid-column: 1 / 7; display: grid; justify-items: start; gap: 18px; }
.sg-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.sg-hero__quote { grid-column: 8 / 13; }

/* proof pull quote near the promise */
.sg-quote { display: grid; gap: 12px; padding: 22px; border-radius: 14px; background: var(--sg-stage); }
.sg-page #main-content .sg-quote__src { color: var(--sg-muted); font-size: 13px; line-height: 1.3; }
.sg-page #main-content .sg-quote blockquote { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.22; letter-spacing: -.01em; }
.sg-brand #main-content .sg-quote blockquote { font-family: "SG Serif", Georgia, serif; font-size: clamp(21px, 2vw, 30px); line-height: 1.18; }
.sg-page #main-content .sg-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; line-height: 1.35; }
.sg-quote figcaption a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--sg-accent-text); text-underline-offset: .18em; }
.sg-quote figcaption a .site-icon { width: 13px; height: 13px; }

/* ---------- the draggable strip (Odama) ---------- */
.sg-strip { position: relative; min-width: 0; }
.sg-page #main-content .sg-strip__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-inline: var(--sg-edge);
  margin-inline: calc(var(--sg-edge) * -1);
  scroll-padding-inline: var(--sg-edge);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.sg-strip__track::-webkit-scrollbar { display: none; }
.sg-strip__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.sg-strip__track.is-dragging a { pointer-events: none; }
.sg-strip__track img { -webkit-user-drag: none; user-select: none; }
.sg-strip__item { flex: 0 0 min(82vw, 460px); min-width: 0; scroll-snap-align: start; }
.sg-strip__bar { display: flex; align-items: center; gap: 14px; padding-top: 18px; }
.sg-strip__rail { position: relative; flex: 1; height: 2px; background: var(--sg-line); }
.sg-strip__thumb { position: absolute; inset: -1px auto -1px 0; width: 30%; background: var(--sg-ink); will-change: transform; }
.sg-strip__btns { display: none; gap: 6px; }
html.sg-js .sg-strip__btns { display: flex; }
.sg-page #main-content .sg-strip__btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sg-line);
  border-radius: 50%;
  background: transparent;
  color: var(--sg-ink);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.sg-strip__btn .site-icon { width: 16px; height: 16px; }
.sg-strip__btn:is(:hover, :focus-visible):not(:disabled) { background: var(--sg-ink); color: var(--sg-bg); border-color: var(--sg-ink); }
.sg-strip__btn:disabled { opacity: .35; cursor: default; }

/* ---------- numbered rows that open on hover or focus (Odama services list) ---------- */
.sg-rows { border-top: 1px solid var(--sg-line); }
.sg-row { position: relative; border-bottom: 1px solid var(--sg-line); transition: background-color .35s; }
.sg-page #main-content a.sg-row__head {
  display: grid;
  grid-template-columns: clamp(40px, 4.2vw, 72px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  min-height: 44px;
  padding: clamp(16px, 1.9vw, 30px) 4px clamp(16px, 1.9vw, 30px) 0;
  text-decoration: none;
}
.sg-row__num { color: var(--sg-muted); font: 400 14px/1 var(--sg-label); transition: color .3s; }
.sg-brand .sg-row__num { font-family: "SG Serif", Georgia, serif; font-size: 20px; }
.sg-page #main-content .sg-row__head h3 {
  color: var(--sg-ink);
  font-family: var(--sg-head) !important;
  font-weight: 400 !important;
  font-size: clamp(26px, 3.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
  min-width: 0;
}
.sg-brand #main-content .sg-row__head h3 { font-weight: 500 !important; }
.sg-systems #main-content .sg-row__head h3 { font-weight: 600 !important; }
.sg-row__tag {
  display: none;
  margin-left: .55em;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--sg-fill);
  color: #fff;
  font: 600 12px/1.2 system-ui, sans-serif;
  letter-spacing: .02em;
  vertical-align: middle;
  white-space: nowrap;
}
.sg-row.is-picked .sg-row__tag { display: inline-block; }
.sg-row__arrow { width: 22px; height: 22px; transition: transform .3s var(--sg-ease), color .2s; color: var(--sg-muted); }
.sg-row:is(.is-open, :hover, :focus-within) .sg-row__arrow { transform: translate(3px, -3px); color: var(--sg-accent-text); }
.sg-row.is-open .sg-row__num { color: var(--sg-accent-text); }
.sg-row.is-picked { background: color-mix(in srgb, var(--sg-accent) 9%, transparent); }
.sg-row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--sg-ease); }
.sg-row__inner { min-height: 0; overflow: hidden; }
.sg-row.is-open .sg-row__panel { grid-template-rows: 1fr; }
.sg-row__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px clamp(20px, 3vw, 56px);
  padding: 0 4px clamp(20px, 2.2vw, 34px) calc(clamp(40px, 4.2vw, 72px) + 10px);
  opacity: 0;
  transition: opacity .35s;
}
.sg-row.is-open .sg-row__body { opacity: 1; transition-delay: .12s; }
.sg-page #main-content .sg-row__lede { grid-column: 1 / -1; max-width: 46ch; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.3; letter-spacing: -.01em; }
.sg-page #main-content .sg-row__for { color: var(--sg-muted); font-size: 15px; line-height: 1.45; }
.sg-row__k { display: block; margin-bottom: 4px; color: var(--sg-ink); font: 600 12px/1.2 system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.sg-systems .sg-row__k, .sg-build .sg-row__k { font: 400 12px/1.2 var(--sg-label); letter-spacing: .04em; }
.sg-row__subs { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-page #main-content .sg-row__subs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.sg-row__subs a:is(:hover, :focus-visible) { background: var(--sg-ink); border-color: var(--sg-ink); color: var(--sg-bg) !important; }
/* no JavaScript: hover, focus and the first row decide what is open */
html:not(.sg-js) .sg-rows:not(:hover):not(:focus-within) .sg-row:first-child .sg-row__panel,
html:not(.sg-js) .sg-row:is(:hover, :focus-within) .sg-row__panel { grid-template-rows: 1fr; }
html:not(.sg-js) .sg-rows:not(:hover):not(:focus-within) .sg-row:first-child .sg-row__body,
html:not(.sg-js) .sg-row:is(:hover, :focus-within) .sg-row__body { opacity: 1; }
/* touch and small screens have no hover, so every row stays open */
@media (hover: none), (max-width: 767px) {
  .sg-row .sg-row__panel { grid-template-rows: 1fr; transition: none; }
  .sg-row .sg-row__body { opacity: 1; transition: none; grid-template-columns: minmax(0, 1fr); padding-left: 0; }
}

/* ---------- chooser: statements that open a row ---------- */
.sg-page #main-content .sg-say {
  display: block;
  position: relative;
  min-height: 44px;
  color: var(--sg-ink);
  text-decoration: none;
  cursor: pointer;
}
.sg-say:is(:hover, :focus-visible) .sg-say__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.sg-say__t { display: inline; }
.sg-say[aria-pressed="true"] .sg-say__t { text-decoration: none; }

/* Strategy & Brand: statements read like a diagnosis, the chosen one gets a marker sweep */
.sg-brand .sg-paths { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sg-gap); row-gap: 28px; align-items: start; }
.sg-brand .sg-choose { grid-column: 1 / 6; display: grid; gap: 18px; }
.sg-brand .sg-rows { grid-column: 6 / 13; }
@media (min-width: 1024px) { .sg-brand .sg-choose { position: sticky; top: 108px; } }
.sg-page #main-content .sg-choose__title { font-size: clamp(30px, 3vw, 52px); }
.sg-page #main-content .sg-choose__lead { max-width: 34ch; color: var(--sg-muted); font-size: 16px; line-height: 1.4; }
.sg-brand .sg-says { display: grid; gap: 0; border-top: 1px solid var(--sg-line); }
.sg-brand .sg-says li { border-bottom: 1px solid var(--sg-line); }
.sg-brand #main-content .sg-say { padding: 14px 0; font-family: "SG Serif", Georgia, serif; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.16; letter-spacing: -.012em; }
.sg-brand .sg-say__t {
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--sg-accent) 38%, transparent) 58% 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  transition: background-size .55s var(--sg-ease);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.sg-brand .sg-say[aria-pressed="true"] .sg-say__t { background-size: 100% 100%; }

/* Systems & Growth: a pipe with four joints, statements hang below the joint where the business leaks */
.sg-systems .sg-paths { display: grid; gap: clamp(28px, 4vw, 56px); }
.sg-systems .sg-choose { display: grid; gap: 18px; }
.sg-systems .sg-choose__head { display: grid; gap: 12px; max-width: 52ch; }
.sg-pipe { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--sg-gap); margin-top: 10px; }
.sg-pipe::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 6px; border-radius: 3px; background: var(--sg-line); }
.sg-pipe::after { content: ""; position: absolute; left: 0; top: 17px; height: 6px; width: calc(var(--sg-fill, 0) * 25%); border-radius: 3px; background: var(--sg-accent); transition: width .6s var(--sg-ease); }
.sg-stage { position: relative; display: grid; align-content: start; gap: 14px; padding: 0 12px 0 0; min-width: 0; }
.sg-stage__joint { position: relative; display: flex; align-items: center; gap: 12px; height: 40px; z-index: 1; }
.sg-stage__dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--sg-line); background: var(--sg-bg); display: grid; place-items: center; color: var(--sg-muted); font: 400 13px/1 var(--sg-label); transition: background-color .3s, border-color .3s, color .3s; flex: none; }
.sg-stage.is-active .sg-stage__dot { background: var(--sg-fill); border-color: var(--sg-fill); color: #fff; }
.sg-stage__drip { position: absolute; left: 15px; top: 40px; width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--sg-accent); opacity: 0; }
.sg-stage.is-active .sg-stage__drip { opacity: 1; animation: sg-drip 1.8s ease-in infinite; }
@keyframes sg-drip { 0% { transform: translateY(-6px) scale(.5); opacity: 0; } 25% { opacity: 1; transform: translateY(0) scale(1); } 100% { transform: translateY(28px) scale(.9); opacity: 0; } }
.sg-page #main-content .sg-stage__name { padding-top: 6px; font: 400 14px/1.1 var(--sg-label); color: var(--sg-ink); }
.sg-stage__list { display: grid; gap: 0; padding-top: 12px; }
.sg-systems .sg-stage__list li { border-top: 1px solid var(--sg-line); }
.sg-systems #main-content .sg-say { padding: 14px 0; font-size: 17px; line-height: 1.32; }
.sg-systems .sg-say__t { transition: color .2s; }
.sg-systems .sg-say[aria-pressed="true"] .sg-say__t { color: var(--sg-accent-text); }
.sg-systems .sg-say::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border: 1.5px solid var(--sg-muted); border-radius: 50%; vertical-align: .08em; transition: background-color .2s, border-color .2s; }
.sg-systems .sg-say[aria-pressed="true"]::before { background: var(--sg-accent); border-color: var(--sg-accent); }

/* Design & Build: a switch panel and a build sheet that fills in as you answer */
.sg-build .sg-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sg-gap); row-gap: 28px; align-items: start; }
.sg-build .sg-board__head { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 54ch; }
.sg-build .sg-switches { grid-column: 1 / 8; border-top: 1px solid var(--sg-line); }
.sg-build .sg-switches li { border-bottom: 1px solid var(--sg-line); }
.sg-switch { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; min-height: 64px; padding: 14px 4px; cursor: pointer; position: relative; }
.sg-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.sg-switch__track { position: relative; width: 52px; height: 30px; border-radius: 99px; border: 2px solid var(--sg-accent-text); background: transparent; transition: background-color .25s; flex: none; }
.sg-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sg-accent-text); transition: transform .3s var(--sg-ease), background-color .25s; }
.sg-switch input:checked + .sg-switch__track { background: var(--sg-accent-text); }
.sg-switch input:checked + .sg-switch__track::after { transform: translateX(22px); background: #fff; }
.sg-switch input:focus-visible + .sg-switch__track { outline: 2px solid var(--sg-accent-text); outline-offset: 3px; }
.sg-switch__t { font-size: clamp(17px, 1.5vw, 24px); line-height: 1.22; letter-spacing: -.02em; }
.sg-switch:hover .sg-switch__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.sg-sheet { grid-column: 9 / 13; display: grid; gap: 14px; padding: 22px; border-radius: 12px; background: #1a3448; color: #fff; }
@media (min-width: 1024px) { .sg-sheet { position: sticky; top: 108px; } }
.sg-page #main-content .sg-sheet :is(h3, p, li, a) { color: inherit; }
.sg-page #main-content .sg-sheet__title { font: 400 14px/1.2 var(--sg-label); color: #c4d4d8; letter-spacing: .02em; }
.sg-sheet__list { display: grid; gap: 0; }
.sg-sheet__item { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid #ffffff2e; }
.sg-page #main-content .sg-sheet__item a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--sg-head); font-size: clamp(22px, 2vw, 30px); line-height: 1.05; letter-spacing: -.03em; text-decoration: none; }
.sg-sheet__item a .site-icon { width: 17px; height: 17px; transition: transform .25s; }
.sg-sheet__item a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }
.sg-sheet__item a:is(:hover, :focus-visible) .site-icon { transform: translate(2px, -2px); }
.sg-page #main-content .sg-sheet__why { color: #c4d4d8; font-size: 14px; line-height: 1.4; }
.sg-sheet__item[hidden], .sg-sheet__empty[hidden], .sg-sheet__note[hidden] { display: none; }
.sg-page #main-content .sg-sheet__empty { color: #c4d4d8; font-size: 15px; line-height: 1.4; padding-top: 12px; border-top: 1px solid #ffffff2e; }
.sg-page #main-content .sg-sheet__note { color: #c4d4d8; font-size: 14px; line-height: 1.45; padding-top: 12px; border-top: 1px solid #ffffff2e; }
.sg-sheet__item:not([hidden]) { animation: sg-sheet-in .45s var(--sg-ease) both; }
@keyframes sg-sheet-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
html:not(.sg-js) .sg-sheet__empty { display: none; }
html.sg-js .sg-sheet__static { display: none; }

/* ---------- proof (Strategy & Brand strip) ---------- */
.sg-proof__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sg-gap); row-gap: 14px; align-items: end; margin-bottom: clamp(22px, 3vw, 44px); }
.sg-proof__head .sg-h2 { grid-column: 1 / 8; }
.sg-proof__head .sg-small { grid-column: 9 / 13; }
.sg-card { display: grid; gap: 12px; align-content: start; color: inherit; text-decoration: none; }
.sg-card__media { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--sg-stage); }
.sg-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--sg-ease); }
.sg-card:is(:hover, :focus-visible) .sg-card__media img { transform: scale(1.045); }
.sg-page #main-content .sg-card h3 { font-family: var(--sg-head) !important; font-weight: 500 !important; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.04; letter-spacing: -.02em; }
.sg-page #main-content .sg-card p { color: var(--sg-muted); font-size: 15px; line-height: 1.4; max-width: 44ch; }
.sg-card__cue { display: inline-flex; align-items: center; gap: .45em; font-size: 14px; }
.sg-card:is(:hover, :focus-visible) h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.sg-qcard { display: grid; align-content: space-between; gap: 22px; min-height: 100%; padding: clamp(20px, 2vw, 30px); border-radius: 10px; background: var(--sg-ink); color: var(--sg-bg); }
.sg-page #main-content .sg-qcard blockquote { font-family: "SG Serif", Georgia, serif; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.14; letter-spacing: -.015em; }
.sg-page #main-content .sg-qcard figcaption { color: inherit; opacity: .82; font-size: 14px; line-height: 1.4; }
.sg-qcard a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; text-underline-offset: .18em; }
.sg-qcard a .site-icon { width: 13px; height: 13px; }
.sg-strip__end { align-self: stretch; display: grid; }
.sg-page #main-content a.sg-endcard { display: grid; align-content: end; gap: 10px; min-height: 100%; padding: 22px; border: 1px solid var(--sg-line); border-radius: 10px; text-decoration: none; font-family: var(--sg-head); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.sg-endcard .site-icon { width: 22px; height: 22px; transition: transform .3s; }
.sg-endcard:is(:hover, :focus-visible) { background: var(--sg-ink); color: var(--sg-bg) !important; }
.sg-endcard:is(:hover, :focus-visible) .site-icon { transform: translate(3px, -3px); }

/* Systems & Growth proof: two case panels with what changed */
.sg-systems .sg-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sg-gap); margin-top: clamp(22px, 3vw, 44px); }
.sg-case { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--sg-line); border-radius: 12px; overflow: hidden; background: var(--sg-stage); color: inherit; text-decoration: none; }
.sg-case__media { aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.sg-case__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--sg-ease); }
.sg-case:is(:hover, :focus-visible) .sg-case__media img { transform: scale(1.04); }
.sg-case__body { display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2vw, 28px); }
.sg-page #main-content .sg-case h3 { font-family: var(--sg-head) !important; font-weight: 600 !important; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.05; letter-spacing: -.03em; }
.sg-page #main-content .sg-case__role { color: var(--sg-accent-text); font: 400 13px/1.3 var(--sg-label); }
.sg-page #main-content .sg-case p { font-size: 16px; line-height: 1.42; max-width: 48ch; }
.sg-page #main-content .sg-case__list { display: grid; gap: 6px; padding-top: 6px; }
.sg-page #main-content .sg-case__list li { position: relative; padding-left: 18px; color: var(--sg-muted); font-size: 15px; line-height: 1.4; }
.sg-case__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--sg-accent); }
.sg-case__cue { display: inline-flex; align-items: center; gap: .45em; font-size: 14px; padding-top: 6px; }
.sg-case__cue .site-icon { width: 14px; height: 14px; }
.sg-case:is(:hover, :focus-visible) h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }

/* ---------- why one person ---------- */
.sg-why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sg-gap); row-gap: 30px; }
.sg-why .sg-h2 { grid-column: 1 / 7; }
.sg-why__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sg-gap); }
.sg-why__item { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--sg-ink); }
.sg-brand .sg-why__item { border-top-color: var(--sg-accent); }
.sg-systems .sg-why__item { border-top: 1px solid var(--sg-line); position: relative; }
.sg-systems .sg-why__item::before { content: ""; position: absolute; left: 0; top: -1px; width: 38px; height: 3px; background: var(--sg-accent); }
.sg-build .sg-why__item { border-top-color: var(--sg-accent); }
.sg-page #main-content .sg-why__item h3 { font-family: var(--sg-head) !important; font-weight: 500 !important; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; letter-spacing: -.02em; }
.sg-systems #main-content .sg-why__item h3 { font-weight: 600 !important; }
.sg-page #main-content .sg-why__item p { max-width: 40ch; color: var(--sg-muted); font-size: 16px; line-height: 1.45; }

/* ---------- process ---------- */
.sg-process__head { display: grid; gap: 12px; max-width: 56ch; margin-bottom: clamp(24px, 3vw, 46px); }
.sg-step { display: grid; align-content: start; gap: 12px; padding: 20px 0 0; border-top: 2px solid var(--sg-ink); }
.sg-step__num { font: 400 14px/1 var(--sg-label); color: var(--sg-accent-text); }
.sg-brand .sg-step__num { font: 500 32px/1 "SG Serif", Georgia, serif; color: var(--sg-accent); }
.sg-page #main-content .sg-step h3 { font-family: var(--sg-head) !important; font-weight: 500 !important; font-size: clamp(24px, 2.1vw, 34px); line-height: 1.06; letter-spacing: -.025em; }
.sg-page #main-content .sg-step__text { max-width: 42ch; font-size: 16px; line-height: 1.45; }
.sg-page #main-content .sg-step__need { max-width: 42ch; color: var(--sg-muted); font-size: 15px; line-height: 1.45; }
.sg-step__need b { display: block; color: var(--sg-ink); font: 600 12px/1.3 system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 2px; }
.sg-systems .sg-step__need b, .sg-build .sg-step__need b { font: 400 12px/1.3 var(--sg-label); letter-spacing: .03em; text-transform: none; }
.sg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sg-gap) 14px; }
/* Design & Build: a plan rail with a node at every step */
.sg-build .sg-step { border-top: 0; padding-top: 34px; position: relative; }
.sg-build .sg-step::before { content: ""; position: absolute; left: 0; right: -14px; top: 9px; height: 2px; background: var(--sg-line); }
.sg-build .sg-step:last-child::before { right: 0; }
.sg-build .sg-step::after { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--sg-accent); background: var(--sg-bg); }
.sg-checks { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.sg-page #main-content .sg-checks li { padding: 8px 12px; border-radius: 8px; background: var(--sg-stage); font-size: 13px; line-height: 1.3; }
.sg-page #main-content .sg-checks__t { color: var(--sg-muted); font-size: 13px; line-height: 1.3; padding-top: 6px; }
/* Systems & Growth: process as a draggable run strip */
.sg-systems .sg-strip__item { flex-basis: min(80vw, 380px); }
.sg-systems .sg-step { padding: 22px; border: 1px solid var(--sg-line); border-radius: 12px; background: var(--sg-stage); min-height: 100%; }
.sg-systems .sg-step__num { display: inline-flex; align-items: center; justify-self: start; padding: 5px 9px; border-radius: 6px; background: var(--sg-fill); color: #fff; font-size: 13px; }
.sg-systems .sg-step { border-top-width: 1px; }
.sg-systems .sg-strip__thumb { background: var(--sg-accent); }

/* ---------- FAQ ---------- */
.sg-faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sg-gap); row-gap: 20px; }
.sg-faq__head { grid-column: 1 / 5; display: grid; align-content: start; gap: 12px; }
.sg-faq__body { grid-column: 5 / 13; border-top: 1px solid var(--sg-line); }
.sg-faq details { border-bottom: 1px solid var(--sg-line); }
.sg-page #main-content .sg-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--sg-head);
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.18;
  letter-spacing: -.015em;
}
.sg-brand #main-content .sg-faq summary { font-weight: 500; }
.sg-systems #main-content .sg-faq summary { font-weight: 600; }
.sg-faq summary::-webkit-details-marker { display: none; }
.sg-faq summary:is(:hover) { color: var(--sg-accent-text); }
.sg-plus { position: relative; flex: none; width: 18px; height: 18px; }
.sg-plus::before, .sg-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: currentColor; transition: transform .35s var(--sg-ease); }
.sg-plus::after { transform: rotate(90deg); }
.sg-faq details[open] .sg-plus::after { transform: rotate(0); }
.sg-page #main-content .sg-faq details p { max-width: 62ch; padding: 0 34px 20px 0; color: var(--sg-muted); font-size: 16px; line-height: 1.5; }
.sg-page #main-content .sg-faq details p a { color: var(--sg-ink); text-underline-offset: .18em; }
.sg-faq details[open] > p { animation: sg-faq-in .5s var(--sg-ease) both; }
@keyframes sg-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- next step ---------- */
.sg-next { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sg-gap); row-gap: 24px; align-items: end; }
.sg-next__main { grid-column: 1 / 8; display: grid; justify-items: start; gap: 22px; }
.sg-page #main-content .sg-next__what { max-width: 46ch; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.38; }
.sg-next__what b { display: block; margin-bottom: 4px; color: var(--sg-muted); font: 600 12px/1.2 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.sg-systems .sg-next__what b, .sg-build .sg-next__what b { font: 400 13px/1.2 var(--sg-label); letter-spacing: .02em; text-transform: none; }
.sg-next__side { grid-column: 9 / 13; display: grid; gap: 0; border-top: 1px solid var(--sg-line); }
.sg-next__side .sg-label { padding: 12px 0 4px; }
.sg-page #main-content .sg-next__side a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--sg-line); text-decoration: none; font-size: 16px; }
.sg-next__side a .site-icon { width: 15px; height: 15px; transition: transform .25s; }
.sg-next__side a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.sg-next__side a:is(:hover, :focus-visible) .site-icon { transform: translate(2px, -2px); }

/* shared closing fallback, replaced by the site closing */
.sg-page #main-content .sg-closing { padding-block: 48px; }

/* ---------- dark page details (Systems & Growth) ---------- */
.sg-systems .sg-hero { position: relative; isolation: isolate; }
.sg-systems .sg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 1px 1px, #ffffff1c 1px, transparent 1.6px) 0 0 / 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 92%); mask-image: linear-gradient(180deg, #000 20%, transparent 92%); }
.sg-page #main-content .sg-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--sg-muted); font: 400 13px/1.3 var(--sg-label); }
.sg-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px #4ade8033; }
.sg-systems .sg-hero__copy { grid-column: 1 / 7; }
.sg-systems .sg-hero__quote { grid-column: 8 / 13; }
.sg-systems .sg-quote { border: 1px solid var(--sg-line); }
.sg-systems .sg-sec + .sg-sec { border-top: 1px solid var(--sg-line); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .sg-build .sg-switches { grid-column: 1 / 8; }
  .sg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
}
@media (max-width: 950px) {
  .sg-hero__copy, .sg-systems .sg-hero__copy { grid-column: 1 / -1; }
  .sg-hero__quote, .sg-systems .sg-hero__quote { grid-column: 1 / -1; }
  .sg-brand .sg-choose, .sg-brand .sg-rows { grid-column: 1 / -1; }
  .sg-brand .sg-choose { position: static; }
  .sg-build .sg-switches, .sg-sheet { grid-column: 1 / -1; }
  .sg-sheet { position: static; }
  .sg-proof__head .sg-h2, .sg-proof__head .sg-small { grid-column: 1 / -1; }
  .sg-why .sg-h2 { grid-column: 1 / -1; }
  .sg-why__list { grid-template-columns: 1fr; }
  .sg-faq__head, .sg-faq__body { grid-column: 1 / -1; }
  .sg-next__main, .sg-next__side { grid-column: 1 / -1; }
  .sg-systems .sg-cases { grid-template-columns: 1fr; }
  .sg-pipe { grid-template-columns: minmax(0, 1fr); gap: 22px 0; }
  .sg-pipe::before, .sg-pipe::after { display: none; }
  .sg-stage { padding-right: 0; }
}
@media (min-width: 600px) and (max-width: 950px) { .sg-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px var(--sg-gap); } }
@media (max-width: 767px) {
  body.sg-page { --sg-edge: 12px; }
  .sg-page #main-content .sg-hero { padding-top: 80px !important; }
  .sg-steps { grid-template-columns: 1fr; }
  .sg-page #main-content .sg-row__head h3 { font-size: clamp(26px, 8vw, 38px); }
  .sg-page #main-content a.sg-row__head { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .sg-row__tag { display: none !important; }
  .sg-row.is-picked .sg-row__tag { display: inline-block !important; margin: 6px 0 0; }
  .sg-page #main-content .sg-quote { padding: 18px; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1000px) {
  .sg-page #main-content .sg-hero { padding-top: 76px !important; padding-bottom: 32px !important; }
  .sg-brand #main-content .sg-hero h1 { font-size: clamp(44px, 9vw, 84px); }
  .sg-systems #main-content .sg-hero h1 { font-size: clamp(42px, 8vw, 74px); }
  .sg-hero__title { grid-column: 1 / -1; }
  .sg-brand .sg-choose, .sg-build .sg-sheet { position: static; }
  .sg-page #main-content .sg-sec { padding-block: 40px; }
}

/* ---------- reduced motion, Quick mode, forced colors ---------- */
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .sg-reveal, .sg-row, .sg-row__panel, .sg-row__body, .sg-row__arrow, .sg-say__t, .sg-card__media img, .sg-case__media img,
  .sg-switch__track, .sg-switch__track::after, .sg-pipe::after, .sg-stage__dot, .sg-plus::before, .sg-plus::after { transition: none !important; }
  .sg-stage.is-active .sg-stage__drip, .sg-sheet__item:not([hidden]), .sg-faq details[open] > p { animation: none !important; }
  .sg-stage.is-active .sg-stage__drip { opacity: 1; }
}
html.ler-quick-mode .sg-reveal, html.ler-quick-mode .sg-row, html.ler-quick-mode .sg-row__panel, html.ler-quick-mode .sg-row__body,
html.ler-quick-mode .sg-say__t, html.ler-quick-mode .sg-card__media img, html.ler-quick-mode .sg-case__media img,
html.ler-quick-mode .sg-switch__track, html.ler-quick-mode .sg-switch__track::after, html.ler-quick-mode .sg-pipe::after,
html.ler-quick-mode .sg-stage__dot, html.ler-quick-mode .sg-plus::before, html.ler-quick-mode .sg-plus::after { transition: none !important; }
html.ler-quick-mode .sg-stage.is-active .sg-stage__drip, html.ler-quick-mode .sg-sheet__item:not([hidden]), html.ler-quick-mode .sg-faq details[open] > p { animation: none !important; }
html.ler-quick-mode .sg-stage.is-active .sg-stage__drip { opacity: 1; }
@media (forced-colors: active) {
  .sg-brand .sg-say[aria-pressed="true"] .sg-say__t { background: Mark; color: MarkText; }
  .sg-switch input:checked + .sg-switch__track { background: Highlight; }
  .sg-row.is-picked { outline: 2px solid Highlight; }
}
