/* studio.bilouro.com — Bilouro Studio. Own visual identity (distinct from the
   other sub-sites). Loaded after _base.css; everything is scoped to body.studio. */

body.studio {
  --st-ink: #0e1116;
  --st-ink-soft: #3a414d;
  --st-muted: #6b7280;
  --st-bg: #faf9f7;
  --st-surface: #ffffff;
  --st-line: #e7e4dd;
  --st-accent: #3b5bff;
  --st-accent-ink: #ffffff;
  --st-accent-soft: #eef1ff;
  --st-radius: 14px;
  --st-shadow: 0 1px 2px rgba(14,17,22,.05), 0 8px 28px rgba(14,17,22,.06);
  --st-max: 1080px;

  margin: 0;
  background: var(--st-bg);
  color: var(--st-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.studio * { box-sizing: border-box; }
body.studio { overflow-x: hidden; }
body.studio .st-book-short { display: none; }

body.studio .st-container {
  max-width: var(--st-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* Skip link */
body.studio .st-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--st-ink); color: #fff; padding: 10px 16px; z-index: 100;
}
body.studio .st-skip:focus { left: 12px; top: 12px; border-radius: 8px; }

/* ── Header ─────────────────────────────────────────── */
body.studio .st-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--st-bg);
  border-bottom: 1px solid var(--st-line);
}
body.studio .st-header__inner {
  display: flex; align-items: center;
  height: 64px; gap: 16px;
}
body.studio .st-header__inner > .st-logo { margin-right: auto; }
body.studio .st-header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
body.studio .st-header__actions .st-btn { white-space: nowrap; align-self: center; }
body.studio .st-nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
body.studio .st-burger { display: none; }
body.studio .st-logo {
  font-weight: 800; letter-spacing: -.02em; font-size: 1.2rem;
  text-decoration: none; color: var(--st-ink); display: inline-flex; gap: .35ch;
}
body.studio .st-logo span { color: var(--st-accent); }
body.studio .st-logo--sm { font-size: 1.05rem; }
body.studio .st-nav { display: flex; align-items: center; gap: 18px; }
body.studio .st-lang { display: flex; gap: 2px; font-size: .82rem; font-weight: 600; }
body.studio .st-lang a {
  text-decoration: none; color: var(--st-muted); padding: 4px 8px; border-radius: 8px;
}
body.studio .st-lang a.is-active { color: var(--st-ink); background: var(--st-accent-soft); }

/* ── Buttons ───────────────────────────────────────── */
body.studio .st-btn {
  display: inline-block; background: var(--st-accent); color: var(--st-accent-ink);
  text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px;
  border: 0; cursor: pointer; font-size: 1rem; transition: transform .08s ease, filter .15s ease;
}
body.studio .st-btn:hover { filter: brightness(1.07); }
body.studio .st-btn:active { transform: translateY(1px); }
body.studio .st-btn--sm { padding: 8px 16px; font-size: .9rem; }
body.studio .st-btn--lg { padding: 15px 30px; font-size: 1.06rem; }

/* ── Hero ──────────────────────────────────────────── */
body.studio .st-hero { padding: clamp(56px, 11vw, 120px) 0 clamp(40px, 8vw, 80px); }
body.studio .st-eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: var(--st-accent); margin: 0 0 18px;
}
body.studio .st-hero__title {
  font-size: clamp(2.1rem, 6vw, 3.7rem); line-height: 1.07; letter-spacing: -.03em;
  font-weight: 800; margin: 0 0 22px; max-width: 18ch;
}
body.studio .st-hero__title em { color: var(--st-accent); font-style: normal; }
body.studio .st-hero__sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--st-ink-soft); max-width: 60ch; margin: 0 0 32px; }
body.studio .st-hero__sub p { margin: 0; }

/* ── Sections ──────────────────────────────────────── */
body.studio .st-section { padding: clamp(48px, 9vw, 92px) 0; }
body.studio .st-section--alt { background: var(--st-surface); border-block: 1px solid var(--st-line); }
body.studio .st-section__title {
  font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -.02em; font-weight: 800; margin: 0 0 12px;
}
body.studio .st-section__intro { color: var(--st-muted); max-width: 60ch; margin: 0 0 40px; }
body.studio .st-section__intro p { margin: 0; }

/* ── Service cards ─────────────────────────────────── */
body.studio .st-cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
body.studio .st-card {
  background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius);
  padding: 26px; box-shadow: var(--st-shadow);
}
body.studio .st-card__icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px; object-fit: cover; }
body.studio .st-card__title { font-size: 1.18rem; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
body.studio .st-card__sub { color: var(--st-ink-soft); margin: 0 0 12px; font-weight: 600; }
body.studio .st-card__out { color: var(--st-muted); margin: 0; font-size: .95rem; }

/* ── Process steps ─────────────────────────────────── */
body.studio .st-steps { list-style: none; counter-reset: none; margin: 0; padding: 0; display: grid; gap: 18px; }
body.studio .st-step { display: flex; gap: 18px; align-items: flex-start; }
body.studio .st-step__n {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px;
  background: var(--st-accent-soft); color: var(--st-accent);
  display: grid; place-items: center; font-weight: 800;
}
body.studio .st-step__title { margin: 4px 0 4px; font-size: 1.1rem; font-weight: 700; }
body.studio .st-step__desc { margin: 0; color: var(--st-muted); }

/* ── Cases ─────────────────────────────────────────── */
body.studio .st-cases { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
body.studio .st-case {
  background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius);
  padding: 24px; box-shadow: var(--st-shadow);
}
body.studio .st-case__img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 16px; }
body.studio .st-case__title { font-size: 1.2rem; font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; }
body.studio .st-case__body { color: var(--st-ink-soft); }
body.studio .st-case__body p { margin: 0; }

/* ── About ─────────────────────────────────────────── */
body.studio .st-about__body { max-width: 64ch; font-size: 1.08rem; color: var(--st-ink-soft); }

/* ── Closing CTA ───────────────────────────────────── */
body.studio .st-cta { background: var(--st-ink); color: #fff; padding: clamp(56px, 10vw, 100px) 0; text-align: center; }
body.studio .st-cta__title { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
body.studio .st-cta__body { color: #c8ccd6; max-width: 50ch; margin: 0 auto 30px; }
body.studio .st-cta__body p { margin: 0; }

/* ── Booking form ──────────────────────────────────── */
body.studio .st-booking__inner { max-width: 600px; margin: 0 auto; }
body.studio .st-booking__hours { font-weight: 700; color: var(--st-ink); margin: -24px 0 28px; }
body.studio .st-form { display: grid; gap: 18px; background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 28px; box-shadow: var(--st-shadow); }
body.studio .st-field { display: grid; gap: 6px; }
body.studio .st-field > span { font-weight: 700; font-size: .92rem; }
body.studio .st-field input, body.studio .st-field select, body.studio .st-field textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; color: var(--st-ink); width: 100%;
}
body.studio .st-field input:focus, body.studio .st-field select:focus, body.studio .st-field textarea:focus {
  outline: 2px solid var(--st-accent); outline-offset: 1px; border-color: var(--st-accent);
}
body.studio .st-field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
body.studio .st-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.studio .st-alert { background: #fdecea; border: 1px solid #f5c2bd; color: #8a2418; padding: 12px 16px; border-radius: 10px; margin-bottom: 22px; }

/* ── Thanks ────────────────────────────────────────── */
body.studio .st-thanks__inner { max-width: 540px; margin: 0 auto; text-align: center; }
body.studio .st-thanks__check {
  width: 64px; height: 64px; border-radius: 999px; background: var(--st-accent-soft); color: var(--st-accent);
  display: grid; place-items: center; font-size: 2rem; font-weight: 800; margin: 0 auto 24px;
}

/* ── Footer ────────────────────────────────────────── */
body.studio .st-footer { background: var(--st-surface); border-top: 1px solid var(--st-line); padding: 40px 0; }
body.studio .st-footer__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
body.studio .st-footer__stack { color: var(--st-muted); font-size: .9rem; margin-top: 6px; }
body.studio .st-footer__stack p { margin: 0; }
body.studio .st-footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
body.studio .st-footer__links a { color: var(--st-ink-soft); text-decoration: none; font-size: .92rem; }
body.studio .st-footer__links a:hover { color: var(--st-accent); }

/* ── Header nav links ──────────────────────────────── */
body.studio .st-navlink {
  text-decoration: none; color: var(--st-ink-soft); font-weight: 600; font-size: .95rem;
  padding: 6px 4px; border-bottom: 2px solid transparent;
}
body.studio .st-navlink:hover { color: var(--st-accent); }

/* ── Blog listing ──────────────────────────────────── */
body.studio .st-postlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
body.studio .st-postcard { background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius); box-shadow: var(--st-shadow); overflow: hidden; }
body.studio .st-postcard__link { display: grid; grid-template-columns: 220px 1fr; text-decoration: none; color: inherit; }
body.studio .st-postcard__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.studio .st-postcard__body { padding: 22px 24px; }
body.studio .st-postcard__body time { color: var(--st-muted); font-size: .85rem; font-weight: 600; }
body.studio .st-postcard__title { margin: 6px 0 8px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
body.studio .st-postcard__excerpt { margin: 0; color: var(--st-muted); }

/* ── Post / project detail ─────────────────────────── */
body.studio .st-post__inner { max-width: 760px; margin: 0 auto; }
body.studio .st-post__back { margin: 0 0 18px; }
body.studio .st-post__back a { color: var(--st-accent); text-decoration: none; font-weight: 600; }
body.studio .st-post__meta { color: var(--st-muted); font-weight: 600; margin: 0 0 8px; }
body.studio .st-post__title { font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin: 0 0 14px; }
body.studio .st-post__lede { font-size: 1.2rem; color: var(--st-ink-soft); margin: 0 0 28px; }
body.studio .st-post__hero { margin: 0 0 28px; }
body.studio .st-post__hero img { width: 100%; height: auto; border-radius: var(--st-radius); }
body.studio .st-post__body { font-size: 1.08rem; line-height: 1.75; color: var(--st-ink); }
body.studio .st-post__body p { margin: 0 0 1.1em; }
body.studio .st-post__stack { margin: 32px 0; padding: 20px 24px; background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius); }
body.studio .st-post__stack h3 { margin: 0 0 6px; font-size: 1rem; }
body.studio .st-post__stack p { margin: 0; color: var(--st-muted); }
body.studio .st-post__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
body.studio .st-post__tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
body.studio .st-tag { background: var(--st-accent-soft); color: var(--st-accent); padding: 4px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; }

/* ── Projects grid ─────────────────────────────────── */
body.studio .st-projgrid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
body.studio .st-projcard { background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius); box-shadow: var(--st-shadow); display: flex; flex-direction: column; overflow: hidden; }
body.studio .st-projcard__link { text-decoration: none; color: inherit; flex: 1; }
body.studio .st-projcard__thumb img { display: block; width: 100%; height: auto; }
body.studio .st-projcard__body { padding: 22px 24px; }
body.studio .st-projcard__meta { margin: 0 0 8px; color: var(--st-muted); font-size: .85rem; }
body.studio .st-kind { font-weight: 700; color: var(--st-accent); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
body.studio .st-projcard__title { margin: 0 0 8px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
body.studio .st-projcard__summary { margin: 0; color: var(--st-ink-soft); }
body.studio .st-projcard__foot { padding: 14px 24px; border-top: 1px solid var(--st-line); display: flex; gap: 18px; }
body.studio .st-projcard__foot a { color: var(--st-accent); text-decoration: none; font-weight: 600; font-size: .9rem; }
body.studio .st-empty { color: var(--st-muted); }

/* ── Solution page (infographic) ───────────────────── */
body.studio .st-sol-hero { padding: clamp(48px, 9vw, 96px) 0 clamp(32px, 6vw, 56px); background: linear-gradient(180deg, var(--st-accent-soft), transparent); }
body.studio .st-sol-hero__title { font-size: clamp(2rem, 5.5vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin: 8px 0 18px; max-width: 20ch; }
body.studio .st-sol-hero__title em { color: var(--st-accent); font-style: normal; }
body.studio .st-sol-hero__sub { font-size: clamp(1.05rem, 2.3vw, 1.28rem); color: var(--st-ink-soft); max-width: 60ch; margin: 0 0 28px; }
body.studio .st-sol-hero__sub p { margin: 0; }

body.studio .st-sol-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px; }
body.studio .st-sol-card { border-radius: var(--st-radius); padding: 28px; border: 1px solid var(--st-line); }
body.studio .st-sol-card--problem { background: #fbf1ee; border-color: #f0d9d2; }
body.studio .st-sol-card--solution { background: var(--st-accent-soft); border-color: #d9e0ff; }
body.studio .st-sol-card__tag { display: inline-block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
body.studio .st-sol-card--problem .st-sol-card__tag { color: #b4472e; }
body.studio .st-sol-card--solution .st-sol-card__tag { color: var(--st-accent); }
body.studio .st-sol-card__body { color: var(--st-ink-soft); }
body.studio .st-sol-card__body p { margin: 0; }
body.studio .st-sol-arrow { align-self: center; font-size: 1.8rem; color: var(--st-muted); font-weight: 700; }

body.studio .st-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
body.studio .st-flow__step { position: relative; background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 28px 24px; box-shadow: var(--st-shadow); text-align: center; }
body.studio .st-flow__step:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--st-muted); font-weight: 700; z-index: 1; }
body.studio .st-flow__icon { font-size: 2.4rem; line-height: 1; }
body.studio .st-flow__n { width: 28px; height: 28px; margin: 12px auto 10px; border-radius: 999px; background: var(--st-accent); color: #fff; font-weight: 800; font-size: .9rem; display: grid; place-items: center; }
body.studio .st-flow__title { font-size: 1.12rem; font-weight: 800; margin: 0 0 8px; }
body.studio .st-flow__body { color: var(--st-muted); margin: 0; font-size: .96rem; }

body.studio .st-benefits { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
body.studio .st-benefit { background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 24px; box-shadow: var(--st-shadow); }
body.studio .st-benefit__icon { font-size: 1.9rem; line-height: 1; margin-bottom: 12px; }
body.studio .st-benefit__title { font-size: 1.1rem; font-weight: 800; margin: 0 0 6px; }
body.studio .st-benefit__body { color: var(--st-muted); margin: 0; font-size: .96rem; }

body.studio .st-statband { background: var(--st-ink); color: #fff; padding: clamp(44px, 8vw, 72px) 0; text-align: center; }
body.studio .st-statband__title { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; margin: 0 0 32px; }
body.studio .st-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
body.studio .st-stat__value { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
body.studio .st-stat__label { color: #aeb4c2; font-size: .95rem; margin-top: 4px; }
body.studio .st-statband__note { color: #c8ccd6; margin-top: 30px; font-size: .95rem; }
body.studio .st-statband__note p { margin: 0; }
body.studio .st-sol-back { margin: 26px 0 0; }
body.studio .st-sol-back a { color: #c8ccd6; text-decoration: none; font-weight: 600; }

body.studio .st-price { text-align: center; max-width: 640px; margin: 0 auto; }
body.studio .st-price__value { font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--st-accent); margin: 6px 0 14px; }
body.studio .st-price__note { color: var(--st-ink-soft); font-size: 1.05rem; }
body.studio .st-price__note p { margin: 0; }

/* Proof "see more" on the home cases */
body.studio .st-case__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--st-accent); font-weight: 700; font-size: .92rem; text-decoration: none; }
body.studio .st-case--link { display: block; text-decoration: none; color: inherit; transition: transform .1s ease, box-shadow .15s ease; }
body.studio .st-case--link:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(14,17,22,.1); }
body.studio .st-case--link:hover .st-case__more { text-decoration: underline; }

/* Clickable service card (links to a solution) */
body.studio .st-card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .1s ease, box-shadow .15s ease; }
body.studio .st-card--link:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(14,17,22,.1); }
body.studio .st-card__more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--st-accent); font-weight: 700; font-size: .9rem; }
body.studio .st-card--link:hover .st-card__more { text-decoration: underline; }

/* ── Mobile: hamburger menu ────────────────────────── */
@media (max-width: 768px) {
  body.studio .st-book-full { display: none; }
  body.studio .st-book-short { display: inline; }
  body.studio .st-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 9px; cursor: pointer;
    border: 1px solid var(--st-line); border-radius: 10px; background: var(--st-surface);
    -webkit-tap-highlight-color: transparent;
  }
  body.studio .st-burger span {
    display: block; height: 2px; width: 100%; background: var(--st-ink);
    border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
  }
  body.studio .st-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--st-surface); border-bottom: 1px solid var(--st-line);
    box-shadow: var(--st-shadow);
    padding: 8px clamp(20px, 5vw, 40px) 16px;
  }
  body.studio .st-nav-toggle:checked ~ .st-nav { display: flex; }
  body.studio .st-navlink { padding: 13px 2px; font-size: 1.05rem; border-bottom: 1px solid var(--st-line); }
  body.studio .st-lang { padding: 12px 2px; gap: 8px; }
  body.studio .st-lang a { padding: 7px 14px; border: 1px solid var(--st-line); }
  /* solution page: stack problem/solution + flow */
  body.studio .st-sol-grid { grid-template-columns: 1fr; }
  body.studio .st-sol-arrow { transform: rotate(90deg); justify-self: center; }
  body.studio .st-flow { grid-template-columns: 1fr; }
  body.studio .st-flow__step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -13px; transform: translateX(50%); }
  /* burger → X when open */
  body.studio .st-nav-toggle:checked ~ .st-header__actions .st-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.studio .st-nav-toggle:checked ~ .st-header__actions .st-burger span:nth-child(2) { opacity: 0; }
  body.studio .st-nav-toggle:checked ~ .st-header__actions .st-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  body.studio .st-field-row { grid-template-columns: 1fr; }
  body.studio .st-postcard__link { grid-template-columns: 1fr; }
  body.studio .st-postcard__body { padding: 18px 20px; }
}

@media (max-width: 380px) {
  body.studio .st-btn--sm { padding: 7px 12px; font-size: .82rem; }
  body.studio .st-header__inner { gap: 10px; }
}
