/* Shared portfolio case styles */
@font-face {font-family:Raveo;src:url("RaveoVF.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212;}
@font-face {font-family:Inter;src:url("inter-cyrillic-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face {font-family:Inter;src:url("inter-cyrillic-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;}
@font-face {font-family:Inter;src:url("inter-cyrillic-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;}
.back-link { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; margin: 0px 0px 24px; font-size: 18px; line-height: 1.4; color: var(--muted); }
.back-link:hover { color: var(--accent); }
.back-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.back-link svg { flex-shrink: 0; }
@media (max-width: 700px) {
.back-link { margin-bottom: 20px; }
}
.interim-case { --case-main-width: 1248px; --case-copy-width: 800px; --case-space-top: 48px; --case-space-bottom: 80px; --case-copy-gap: 64px; --case-heading-size: clamp(32px,3.2vw,48px); max-width: var(--case-main-width); margin: 0px auto; padding: var(--case-space-top) 24px var(--case-space-bottom); }
.interim-intro { max-width: var(--case-copy-width); margin: 0 auto var(--case-copy-gap); }
.interim-meta { font-size: 16px; line-height: 1.5; white-space: nowrap; margin: 0px 0px 24px; }
html:lang(en) .interim-meta { white-space: normal; }
.interim-intro h1 { font-family: var(--site-type,Inter,sans-serif); font-size: var(--case-heading-size); line-height: 1.1; font-weight: 600; letter-spacing: -0.04em; margin: 0px 0px 32px; }
.interim-lead, .interim-intro li { font-size: 20px; line-height: 1.6; }
.interim-lead { margin: 0px 0px 24px; }
.interim-intro ul { list-style: none; padding: 0px; margin: 0px; }
.interim-intro li { position: relative; padding-left: 24px; margin: 0px 0px 12px; }
.interim-intro li::before { content: "—"; position: absolute; left: 0px; color: var(--muted); }
.interim-intro li:last-child { margin-bottom: 0px; }
.interim-showcase { display: grid; grid-template-columns: repeat(12, minmax(0px, 1fr)); gap: 24px; align-items: start; }
.interim-showcase figure { margin: 0px; min-width: 0px; grid-column: span 6; }
.interim-image { position: relative; display: block; width: 100%; padding: 0px; border: 0px; border-radius: 12px; background: none; cursor: zoom-in; }
.interim-image img { display: block; width: 100%; height: auto; border-radius: 12px; outline: 1px solid var(--border); outline-offset: -1px; }
.interim-zoom { position: absolute; bottom: 12px; right: 12px; padding: 9px; display: flex; border-radius: 50%; color: rgb(51, 51, 51); background: rgb(255, 255, 255); opacity: 0; transition: opacity 0.15s; box-shadow: rgba(0, 0, 0, 0.067) 0px 1px 8px; }
.interim-demo { display: flex; justify-content: center; }
.interim-demo video { display: block; width: min(100%, 440px); height: auto; aspect-ratio: 780 / 1688; border-radius: 16px; background: var(--surface); }
.interim-dialog { width: min(96vw, 1600px); max-width: 96vw; max-height: 95dvh; padding: 16px; border: 0px; border-radius: 16px; background: var(--page-bg); color: var(--page-text); overflow: auto; }
.interim-dialog::backdrop { background: rgba(0, 0, 0, 0.733); }
.interim-dialog img { display: block; max-width: 100%; max-height: 82dvh; width: auto; height: auto; margin: 16px auto 0px; object-fit: contain; }
.interim-dialog-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0px; background: inherit; }
.interim-dialog-tools :is(a, button) { width: 44px; height: 44px; border: 0px; border-radius: 50%; background: var(--surface); color: inherit; display: grid; place-items: center; cursor: pointer; }
@media (max-width: 700px) {
.interim-case { --case-space-top: 24px; --case-space-bottom: 48px; --case-copy-gap: 40px; --case-heading-size: 32px; }
.interim-meta { font-size: clamp(11px, 3.3vw, 14px); margin-bottom: 20px; }
.interim-intro h1 { margin-bottom: 24px; }
.interim-lead, .interim-intro li { font-size: 18px; line-height: 1.6; }
.interim-intro li { padding-left: 22px; margin-bottom: 12px; }
.interim-showcase { gap: 16px 12px; }
.interim-showcase figure { grid-column: span 12; }
.interim-image, .interim-image img { border-radius: 8px; }
.interim-zoom { display: none; }
.interim-demo video { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
.interim-zoom { transition: none; }
}
.interim-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.interim-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 18px; line-height: 1.5; color: var(--accent); }
.interim-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.interim-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.interim-links svg { flex-shrink: 0; }
:root { font-family: Inter, sans-serif; color: rgb(50, 64, 79); background: rgb(250, 252, 253); font-size: 15px; line-height: 1.5; --muted: #69747f; --accent: #4569df; --border: rgba(50,64,79,.1); }
* { box-sizing: border-box; }
body { margin: 0px; min-width: 320px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0px; padding: 0px; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0px; }
h1, h2, h3, .serif, figcaption { font-family: Lora, serif; font-weight: 400; }
h1 { font-size: 56px; line-height: 1.1; letter-spacing: -1.8px; }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.65px; }
h3 { font-size: 21px; line-height: 1.43; letter-spacing: -0.3px; }
.mono { font-family: "IBM Plex Mono", monospace; font-size: 15px; font-weight: 400; }
.muted { color: var(--muted); }
.header { height: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 0px 24px; position: relative; z-index: 10; border-bottom: 1px solid var(--border); }
.brand { display: flex; gap: 24px; text-transform: uppercase; font-size: 15px; white-space: nowrap; width: max-content; }
.navigation { display: flex; gap: 28px; align-items: center; justify-content: flex-start; font-size: 15px; text-transform: uppercase; }
.navigation a, .footer-links a, .text-link { display: inline-flex; align-items: center; gap: 6px; }
.navigation a:hover, .footer-links a:hover, .footer-links button:hover, .text-link:hover, .navigation [aria-current="page"] { color: var(--accent); }
.menu-toggle { display: none; }
.skip-link { position: fixed; left: 24px; top: -80px; background: var(--accent); color: rgb(255, 255, 255); padding: 12px; z-index: 100; }
.skip-link:focus { top: 12px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.back:hover { color: var(--accent); }
.chapter { margin-top: 64px; scroll-margin-top: 32px; }
.chapter h2 { margin-bottom: 16px; }
.chapter > p { margin-bottom: 32px; }
figcaption { font-size: 17px; line-height: 1.5; margin-top: 12px; }
@media (max-width: 900px) {
.brand { gap: 12px; font-size: 11px; }
.navigation { gap: 16px; font-size: 12px; }
}
@media (max-width: 700px) {
h1 { font-size: 44px; line-height: 1.1; letter-spacing: -1.2px; }
h2 { font-size: 32px; line-height: 1.2; }
.header { height: 86px; display: flex; justify-content: space-between; padding: 0px 24px; }
.brand { flex-direction: column; gap: 2px; font-size: 15px; }
.menu-toggle { display: inline-flex; }
.navigation { display: none; position: absolute; left: 0px; right: 0px; top: 86px; background: rgb(250, 252, 253); padding: 20px 24px 24px; border-bottom: 1px solid var(--border); font-size: 15px; flex-direction: column; align-items: flex-start; gap: 24px; }
.navigation.open { display: flex; }
.chapter { margin-top: 48px; }
.chapter > p { margin-bottom: 24px; }
figcaption { font-size: 15px; line-height: 1.5; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
* { scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 700px) {
.navigation { gap: 16px; }
}
.case-next { border-top: 1px solid var(--border); margin-top: 80px; padding-top: 24px; display: flex; align-items: start; justify-content: space-between; gap: 32px; }
.case-next > a:last-child { display: grid; gap: 10px; max-width: 60%; }
.case-next > a:last-child > span:first-child { display: flex; align-items: center; gap: 8px; }
.case-next .serif { font-size: 21px; line-height: 1.4; }
.case-next a:hover { color: var(--accent); }
@media (max-width: 700px) {
.case-next { margin-top: 64px; flex-direction: column; gap: 32px; }
.case-next > a:last-child { max-width: 100%; }
}
:root { --page-bg: #fff; --page-text: #32404f; --surface: #E1E6EF; color-scheme: light; }
body { background-color: var(--page-bg); isolation: isolate; }
body::before { content: ""; position: fixed; inset: 0px; z-index: -1; pointer-events: none; background-image: url("/assets/paper-grain.svg"); background-repeat: repeat; background-size: 240px 240px; opacity: 0.3; mix-blend-mode: multiply; }
:root { --chrome-type: Raveo, Inter, sans-serif; }
.portfolio-shell > .header { --chrome-inset: calc(max(0px, (100% - 1848px) / 2) + 65px); display: grid; grid-template-columns: auto minmax(0px, 1fr) auto; align-items: center; gap: 24px; height: 80px; padding-inline: var(--chrome-inset); }
.portfolio-shell > .header .brand { width: 48px; min-height: 48px; flex-direction: row; align-items: center; justify-content: flex-start; }
.portfolio-shell > .header .header-portrait { width: 48px; height: 48px; }
.portfolio-shell > .header .menu-toggle { display: none; }
.portfolio-shell > .header .navigation { display: flex; justify-content: flex-end; align-items: center; gap: 20px; font-family: var(--chrome-type); font-size: 16px; font-weight: 500; text-transform: none; letter-spacing: normal; }
.portfolio-shell > .header .navigation > a { min-height: 44px; }
.portfolio-shell > .header .language-switch { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; font: 500 16px var(--chrome-type); }
.portfolio-shell > .header .language-flag { flex: 0 0 auto; border-radius: 2px; outline: 1px solid var(--border); outline-offset: -1px; }
.portfolio-shell > .header .language-switch:hover, .portfolio-shell > .header .language-switch:focus-visible { color: var(--accent); }
@media (max-width: 1399px) {
.portfolio-shell > .header { --chrome-inset: 57px; }
}
@media (max-width: 700px) {
.portfolio-shell > .header { display: flex; gap: 8px; height: 88px; }
.portfolio-shell > .header .language-switch { margin-inline-start: auto; }
.portfolio-shell > .header .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.portfolio-shell > .header .navigation { display: none; position: absolute; inset: 88px 0px auto; padding: 20px var(--chrome-inset) 24px; background: var(--page-bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; font-size: 16px; }
.portfolio-shell > .header .navigation.open { display: flex; }
}
@media (max-width: 599px) {
.portfolio-shell > .header { --chrome-inset: 37px; }
}
.header-portrait { display: block; border-radius: 50%; object-fit: cover; object-position: center 28%; }
:root { --site-type: Raveo, Inter, sans-serif; --surface: #F3F6FB; --site-panel-strong: #EDF3FF; --site-ink: #32404f; --site-on-dark: #fafcfd; }
:root:has(.portfolio-shell:not(.page-home)) { color-scheme: light; --page-bg: #fff; --page-text: #32404f; --surface: #F3F6FB; --muted: #69747f; --accent: #4569df; --border: rgba(50,64,79,.1); background: rgb(255, 255, 255); color: var(--page-text); }
body:has(.portfolio-shell:not(.page-home))::before { display: none; }
.portfolio-shell:not(.page-home) { min-height: 100dvh; background: rgb(255, 255, 255); font-family: var(--site-type); color: var(--page-text); }
.portfolio-shell:not(.page-home) :is(h1, h2, h3, .serif, figcaption, .mono) { font-family: var(--site-type); }
.portfolio-shell:not(.page-home) :is(h1, h2, h3) { font-weight: 600; font-feature-settings: "cv03", "cv04", "cv09", "cv11"; }
.portfolio-shell:not(.page-home) :is(.chapter > h2, .gpb-chapter-copy h2) { font-size: clamp(28px, 2.24vw, 40px); line-height: 1.2; letter-spacing: -0.035em; }
.portfolio-shell:not(.page-home) h3 { letter-spacing: -0.02em; }
.portfolio-shell:not(.page-home) :is(.chapter > p:not(.note), .gpb-chapter-copy > p:not(.gpb-episode-note), .business-case-top > p, .about p) { font-size: 18px; line-height: 1.55; letter-spacing: -0.02em; }
.portfolio-shell:not(.page-home) :is(.toc, .back, .gpb-topline, .text-link) { font-weight: 500; }
.portfolio-shell:not(.page-home) :is(.metric-value, .story-stat-number, .story-tile-value, .case-next .serif) { font-weight: 600; }
.portfolio-shell:not(.page-home) figcaption { color: var(--muted); }
@media (max-width: 700px) {
.portfolio-shell:not(.page-home) :is(.chapter > h2, .gpb-chapter-copy h2) { font-size: 28px; }
.portfolio-shell:not(.page-home) :is(.chapter > p:not(.note), .gpb-chapter-copy > p:not(.gpb-episode-note), .business-case-top > p, .about p, .gpb-lead) { font-size: 16px; line-height: 1.5; }
}
:root { --muted: #6f7984; --accent: #5781ff; --border: rgba(50,64,79,.1); }
.portfolio-shell:not(.page-home) .interim-lead, .portfolio-shell:not(.page-home) .interim-intro li { letter-spacing: -0.02em; }
.feed-copy, .feed-comparison { max-width: var(--case-copy-width); margin-inline: auto; }
.feed-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.feed-comparison figure { min-width: 0; }
.feed-comparison video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 16px;
  background: var(--surface);
  outline: 1px solid var(--border);
  outline-offset: -1px;
}
.feed-comparison video:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.feed-comparison figcaption { margin-top: 10px; }
.chapter .interim-links { margin-top: 0; }
.chapter .source-links { gap: 4px 24px; }
.chapter .source-links a { font-size: 16px; min-height: 36px; }
.chapter .source-links a svg { width: 16px; height: 16px; }
.chapter > p:has(+ .source-links) { margin-bottom: 8px; }
.method-item { margin-top: 32px; }
.method-item h3 { font-size: 24px; line-height: 1.3; }
.method-date { margin: 4px 0 12px; }
.method-copy { font-size: 18px; line-height: 1.55; letter-spacing: -.02em; margin-bottom: 8px; }
.method .qualification { margin-top: 24px; color: var(--muted); }
.feed-copy .case-next a { min-height: 44px; }
@media (max-width: 700px) {
  .feed-comparison { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feed-comparison figure { width: min(100%, 440px); justify-self: center; }
  .feed-comparison video { border-radius: 12px; }
}
@media (max-width: 720px) {
  .method-copy { font-size: 16px; line-height: 1.5; }
  .method-item h3 { font-size: 22px; }
  .chapter .source-links { column-gap: 16px; }
}
.install-help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.install-help { margin: 24px 0; padding: 4px 0; border-block: 1px solid var(--border); font-size: 16px; line-height: 1.55; }
.install-help summary { width: fit-content; padding: 11px 0; font-weight: 500; cursor: pointer; }
.install-help summary:hover { color: var(--accent); }
.install-help summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.install-help p { margin: 2px 0 12px; }
.install-help ol { margin: 0 0 12px; padding-inline-start: 24px; }
.install-help li + li { margin-top: 6px; }
.install-help code { overflow-wrap: anywhere; font-size: .91em; }
