/* ============================================================
   Byteout — Tier 1 rewrite stylesheet
   Source: design bundle "Website page" (claude.ai/design, 2026-05-20)
   Combines: byteout-tokens.css + pages.css from the design system.
   Enqueued from yootheme-child/functions.php after the YOOtheme parent.

   Page-scoped styles below live under .byo-page so they don't bleed into
   YOOtheme-rendered chrome (header, footer, admin bar). Each Tier 1 template
   wraps its body in <main class="byo-page">.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Roboto:wght@400;500;700;900&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --byteout-blue: #05B5F5;
  --byteout-blue-600: #049bd4;
  --byteout-blue-700: #0381b1;
  --byteout-blue-50:  #e6f7fe;
  --byteout-blue-100: #c6ecfd;

  --charcoal:   #262626;
  --ink:        #1a1a1a;
  --slate-700:  #3a3a3a;
  --slate-500:  #5c5c5c;
  --slate-400:  #8a8a8a;
  --slate-300:  #b8b8b8;
  --slate-200:  #e0e0e0;
  --slate-100:  #efefef;
  --slate-50:   #f6f7f8;
  --white:      #ffffff;
  --black:      #000000;

  --accent-amber:  #ffb547;
  --accent-mint:   #2ecf8b;
  --accent-coral:  #ff6a5b;
  --accent-lilac:  #8b7dff;

  --fg-1: var(--charcoal);
  --fg-2: var(--slate-500);
  --fg-3: var(--slate-400);
  --fg-inverse: var(--white);
  --fg-brand: var(--byteout-blue);
  --fg-link: var(--byteout-blue);
  --fg-link-hover: var(--byteout-blue-700);

  --bg-page: var(--white);
  --bg-subtle: var(--slate-50);
  --bg-muted: var(--slate-100);
  --bg-inverse: var(--ink);
  --bg-brand: var(--byteout-blue);

  --border-1: var(--slate-200);
  --border-2: var(--slate-300);
  --border-strong: var(--charcoal);
  --border-brand: var(--byteout-blue);

  --success: #2ecf8b;
  --danger:  #e0543e;
  --warning: #ffb547;
  --info:    var(--byteout-blue);

  --font-sans: "Barlow", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --font-display: var(--font-sans);

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-heavy: 800;

  --fs-display-xl: 88px;
  --fs-display-l:  64px;
  --fs-display-m:  48px;
  --fs-h1: 40px;
  --fs-h2: 32px;
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-body-l: 18px;
  --fs-body:   16px;
  --fs-body-s: 14px;
  --fs-caption: 12px;

  --lh-tight: 1.05;
  --lh-snug:  1.2;
  --lh-normal: 1.5;
  --lh-loose:  1.65;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(38,38,38,0.06);
  --shadow-sm: 0 2px 6px rgba(38,38,38,0.08);
  --shadow-md: 0 8px 24px rgba(38,38,38,0.10);
  --shadow-lg: 0 20px 48px rgba(38,38,38,0.14);
  --shadow-brand: 0 10px 30px rgba(5,181,245,0.28);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in-out: cubic-bezier(.6,.0,.2,1);
}

.byo-page,
.byo-page *,
.byo-page *::before,
.byo-page *::after { box-sizing: border-box; }
.byo-page { overflow-x: clip; }

.byo-page {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--fg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.byo-page img { max-width: 100%; display: block; }

.byo-page h1, .byo-page h2, .byo-page h3, .byo-page h4, .byo-page h5 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  margin: 0;
  text-wrap: balance;
}
.byo-page h1 { font-size: var(--fs-h1); font-weight: var(--fw-heavy); line-height: var(--lh-tight); }
.byo-page h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }
.byo-page h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
.byo-page h4 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); }
:where(.byo-page) p { color: var(--fg-1); text-wrap: pretty; }
.byo-page small { font-size: var(--fs-body-s); color: var(--fg-2); }

/* :where() contributes 0 specificity, so component-level link colors
   (.byo-logos__row a, etc.) win over the page-default without needing
   their own bump. The :not(.byo-btn) keeps the buttons out. */
:where(.byo-page) a:not(.byo-btn) {
  color: var(--fg-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
:where(.byo-page) a:not(.byo-btn):hover { color: var(--fg-link-hover); }

.byo-page code {
  font-family: var(--font-mono);
  font-size: .92em;
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  color: var(--ink);
}

.byo-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.byo-wrap--narrow { max-width: 760px; }
.byo-wrap--mid { max-width: 920px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.byo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent; background: transparent;
  color: var(--fg-1); cursor: pointer; text-decoration: none;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.byo-btn--primary { background: var(--byteout-blue); color: #fff; }
.byo-btn--primary:hover {
  background: var(--byteout-blue-600); color: #fff;
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}
.byo-btn--primary:active { transform: translateY(0) scale(.98); box-shadow: none; }
.byo-btn--secondary { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.byo-btn--secondary:hover { background: var(--charcoal); color: #fff; }
.byo-btn--ghost { color: var(--byteout-blue); padding: 10px 16px; }
.byo-btn--ghost:hover { color: var(--byteout-blue-700); }
.byo-btn--inverse { background: #fff; color: var(--charcoal); border-color: #fff; }
.byo-btn--inverse:hover { background: var(--byteout-blue); border-color: var(--byteout-blue); color: #fff; box-shadow: var(--shadow-brand); }
.byo-btn--lg { font-size: 16px; padding: 16px 30px; }
.byo-btn--sm { font-size: 14px; padding: 10px 18px; }

.byo-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--byteout-blue);
  text-decoration: none;
  transition: gap var(--dur-base) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.byo-arrow:hover { color: var(--byteout-blue-700); gap: 10px; }

/* ============================================================
   EYEBROW
   ============================================================ */
.byo-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--byteout-blue);
  margin: 0 0 20px;
}
.byo-eyebrow::before {
  content: ""; width: 24px; height: 1.5px;
  background: var(--byteout-blue); display: inline-block;
}
.byo-eyebrow--center { display: inline-flex; justify-content: center; }

.byo-mark {
  font-style: italic;
  background-image: linear-gradient(transparent 64%, rgba(5,181,245,.30) 64%);
  padding: 0 4px;
}

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
.byo-section { padding: 112px 0; position: relative; }
.byo-section--tight { padding: 80px 0; }
.byo-section--muted { background: var(--slate-50); }
.byo-section--ink { background: var(--ink); color: #fff; }

.byo-section__head { max-width: 720px; margin: 0 0 56px; }
.byo-section__head h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink); margin: 0 0 16px;
  text-wrap: balance;
}
.byo-section__head p {
  font-size: 18px; color: var(--fg-2);
  line-height: 1.55; margin: 0;
}

@media (max-width: 720px) {
  .byo-section { padding: 80px 0; }
  .byo-section--tight { padding: 64px 0; }
  .byo-section__head { margin-bottom: 40px; }
}

/* ============================================================
   HERO
   ============================================================ */
.byo-hero { padding: 112px 0 96px; position: relative; }
.byo-hero__inner { max-width: 980px; }
.byo-hero--center { text-align: center; }
.byo-hero--center .byo-hero__inner { margin: 0 auto; }
.byo-hero--center .byo-eyebrow { margin-left: auto; margin-right: auto; }

.byo-hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.byo-hero__sub {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--fg-2);
  line-height: 1.45;
  max-width: 680px;
  margin: 0 0 36px;
}
.byo-hero--center .byo-hero__sub { margin-left: auto; margin-right: auto; }
.byo-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 24px; }
.byo-hero--center .byo-hero__cta { justify-content: center; }

.byo-hero--asym .byo-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.byo-hero--asym .byo-hero__art { position: relative; min-height: 360px; }
@media (max-width: 920px) {
  .byo-hero--asym .byo-hero__layout { grid-template-columns: 1fr; }
  .byo-hero--asym .byo-hero__art { display: none; }
}

.byo-trust {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.byo-hero--center .byo-trust { justify-content: center; }
.byo-trust__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--fg-2);
  font-feature-settings: "tnum" 1;
}
.byo-trust__chip strong { color: var(--ink); font-weight: 700; }
.byo-trust__chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--byteout-blue);
  flex-shrink: 0;
}

/* ============================================================
   LOGO STRIP
   ============================================================ */
.byo-logos { padding: 6px 0; border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.byo-logos__lead {
  text-align: center;
  font-size: 14px; font-weight: 600;
  color: var(--fg-3);
  letter-spacing: 0.02em;
  margin: 0 auto 24px;
  max-width: 640px;
}
.byo-logos__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}
.byo-logos__row a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--slate-400);
  text-align: center;
  text-decoration: none;
  padding: 16px 8px;
  transition: color var(--dur-base) var(--ease-out);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
}
.byo-logos__row a:hover { color: var(--charcoal); }
.byo-logos__row img {
  max-height: 240px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}
.byo-logos__row a:hover img {
  opacity: 1;
  filter: grayscale(0%);
}
.byo-logos__tail {
  margin-top: 24px;
  text-align: center;
  font-size: 13px; color: var(--fg-3);
  letter-spacing: 0.02em;
}
@media (max-width: 820px) {
  .byo-logos__row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ============================================================
   PROSE SECTION
   ============================================================ */
.byo-prose { max-width: 740px; }
.byo-prose h2 {
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink); margin: 0 0 32px;
  text-wrap: balance;
}
.byo-prose p {
  font-size: 19px;
  color: var(--fg-1);
  line-height: 1.6;
  margin: 0 0 24px;
}
.byo-prose p:last-child { margin-bottom: 0; }
.byo-prose strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   TWO-PILLAR
   ============================================================ */
.byo-pillars__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
}
.byo-pillar {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 40px 36px 36px;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.byo-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.byo-pillar__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-2);
  padding: 6px 12px;
  background: var(--slate-50);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  margin: 0 0 20px;
}
.byo-pillar__label .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--slate-400);
}
.byo-pillar--blue .byo-pillar__label .dot { background: var(--byteout-blue); }
.byo-pillar--blue {
  background: linear-gradient(180deg, rgba(5,181,245,.05) 0%, #fff 60%);
  border-color: rgba(5,181,245,.25);
}
.byo-pillar h3 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.02em; line-height: 1.05;
  color: var(--ink); margin: 0 0 16px;
}
.byo-pillar__role {
  font-size: 15px; font-weight: 600;
  color: var(--byteout-blue);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.byo-pillar__body {
  font-size: 17px; line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.byo-pillar__attrs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-1);
}
.byo-pillar__attrs span {
  font-size: 13px; font-weight: 500;
  color: var(--fg-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--slate-50);
}

.byo-pillars__diagram {
  position: relative;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  margin: 32px 0 8px;
}
.byo-pillars__diagram svg { display: block; max-width: 100%; }

.byo-pillars__summary {
  max-width: 760px; margin: 40px auto 0;
  text-align: center;
  font-size: 18px; line-height: 1.6;
  color: var(--fg-1);
}
@media (max-width: 820px) {
  .byo-pillars__grid { grid-template-columns: 1fr; gap: 20px; }
  .byo-pillars__diagram { display: none; }
}

/* ============================================================
   WEDGE — three-up
   ============================================================ */
.byo-wedge__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.byo-wedge__item { padding: 8px 0; }
.byo-wedge__num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--byteout-blue);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
  display: block;
}
.byo-wedge__item h3 {
  font-size: 22px;
  font-weight: var(--fw-heavy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px;
}
.byo-wedge__item p {
  font-size: 16px; line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 820px) {
  .byo-wedge__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   FEATURED CASE STUDY / OUR WORK CASE BLOCKS
   ============================================================ */
.byo-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.byo-feature--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.byo-feature--reverse .byo-feature__copy { order: 2; }
.byo-feature--reverse .byo-feature__art  { order: 1; }
.byo-feature__copy { padding: 24px 0; }
.byo-feature__brand {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--byteout-blue);
  margin: 0 0 12px;
}
.byo-feature h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.025em; line-height: 1.0;
  color: var(--ink);
  margin: 0 0 24px;
}
.byo-feature__meta {
  font-size: 15px; color: var(--fg-3);
  font-style: italic;
  margin: 0 0 24px;
}
.byo-feature__body p,
.byo-feature__copy .byo-case-para {
  font-size: 17px; line-height: 1.6;
  color: var(--fg-1); margin: 0 0 20px;
}
.byo-feature__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 24px 0 28px;
}
.byo-feature__tags span {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--fg-2);
}
@media (max-width: 920px) {
  .byo-feature { grid-template-columns: 1fr; gap: 40px; }
  .byo-feature--reverse .byo-feature__copy { order: 2; }
  .byo-feature--reverse .byo-feature__art { order: 1; }
}

.byo-frame {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(38,38,38,0.10);
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.byo-frame:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.byo-frame__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-1);
  background: var(--slate-50);
}
.byo-frame__bar .dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--slate-300);
}
.byo-frame__bar .url {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--fg-3);
  margin-left: 8px;
  padding: 4px 12px; border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-1);
}
.byo-frame__body {
  aspect-ratio: 16 / 11;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(5,181,245,.03) 0 12px,
      transparent 12px 24px),
    linear-gradient(180deg, var(--slate-50), #fff);
}
.byo-frame__body > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.byo-frame__placeholder {
  position: absolute; inset: 24px;
  border: 1.5px dashed var(--slate-300);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  color: var(--fg-3);
}
.byo-frame__placeholder .mono {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.byo-frame__placeholder .label {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.byo-frame__placeholder .hint {
  font-size: 13px; color: var(--fg-3);
}
.byo-frame--tilt-l { transform: rotate(-1.2deg); }
.byo-frame--tilt-r { transform: rotate(1.2deg); }
.byo-frame--tilt-l:hover { transform: rotate(-1.2deg) translateY(-4px); }
.byo-frame--tilt-r:hover { transform: rotate(1.2deg) translateY(-4px); }

.byo-feature--bleed { display: block; }
.byo-feature--bleed .byo-feature__art { margin-bottom: 48px; }
.byo-feature--bleed .byo-feature__copy { max-width: 880px; padding: 0; }
.byo-feature--bleed .byo-feature__copy-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.byo-feature--bleed .byo-feature__copy-grid .byo-feature__aside { padding-top: 8px; }
.byo-feature--bleed .byo-frame__body { aspect-ratio: 21 / 9; }
@media (max-width: 820px) {
  .byo-feature--bleed .byo-feature__copy-grid { grid-template-columns: 1fr; gap: 28px; }
}

.byo-feature__art--split {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px; align-items: center;
  position: relative;
}
.byo-feature__art--split .byo-frame--phone { border-radius: 28px; }
.byo-frame--phone .byo-frame__body { aspect-ratio: 9 / 18; }
.byo-frame--phone .byo-frame__bar { background: #0d0d0d; padding: 10px 14px; }
.byo-frame--phone .byo-frame__bar .dot { background: var(--slate-500); width: 8px; height: 8px; }
.byo-frame--phone .byo-frame__bar .url { background: #1f1f1f; border-color: #2b2b2b; color: var(--slate-400); }
@media (max-width: 920px) {
  .byo-feature__art--split { grid-template-columns: 1fr 1fr; }
}

.byo-case-meta {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}
.byo-case-meta__num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--byteout-blue);
  padding: 6px 14px;
  background: var(--byteout-blue-50);
  border-radius: 999px;
}
.byo-case-meta__cat {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-2);
}

.byo-outcome {
  background: #fff;
  border: 1px solid var(--border-1);
  border-left: 3px solid var(--byteout-blue);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0 24px;
}
.byo-outcome__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--byteout-blue);
  margin: 0 0 6px;
}
.byo-outcome p {
  font-size: 16px; line-height: 1.55;
  color: var(--fg-1);
  margin: 0;
}

.byo-built {
  margin: 0 0 24px;
  padding: 16px 0;
  border-top: 1px dashed var(--border-1);
  border-bottom: 1px dashed var(--border-1);
}
.byo-built__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 6px;
}
.byo-built__list {
  font-size: 15px; line-height: 1.55;
  color: var(--fg-1);
  margin: 0;
}
.byo-built__list span:not(:last-child)::after {
  content: " · ";
  color: var(--slate-300);
  margin: 0 4px;
}

/* /our-work/ page hero — editorial */
.byo-pageintro { padding: 88px 0 56px; }
.byo-pageintro__inner { max-width: 880px; }
.byo-pageintro h1 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: balance;
}
.byo-pageintro p {
  font-size: 19px; line-height: 1.6;
  color: var(--fg-1);
  margin: 0 0 20px;
  max-width: 760px;
}
.byo-pageintro__tail {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-3);
  padding: 14px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--border-1);
  max-width: 760px;
}

.byo-why { max-width: 780px; margin: 0 auto; }
.byo-why h3 {
  font-size: 28px; font-weight: var(--fw-bold);
  letter-spacing: -0.015em; line-height: 1.2;
  color: var(--ink); margin: 0 0 20px;
}
.byo-why p {
  font-size: 17px; line-height: 1.6;
  color: var(--fg-1); margin: 0 0 16px;
}

/* ============================================================
   SERVICES GRID (homepage S7)
   ============================================================ */
.byo-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.byo-svc {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all var(--dur-base) var(--ease-out);
}
.byo-svc:hover {
  transform: translateY(-4px);
  border-color: var(--byteout-blue-100);
  box-shadow: var(--shadow-md);
}
.byo-svc__num {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--byteout-blue);
  margin: 0 0 4px;
}
.byo-svc h3 {
  font-size: 24px; font-weight: var(--fw-heavy);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 6px;
}
.byo-svc__tagline {
  font-size: 15px; font-style: italic;
  color: var(--fg-2); margin: 0 0 8px;
}
.byo-svc__deliverables {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.byo-svc__deliverables li {
  font-size: 14px; line-height: 1.5;
  color: var(--fg-1);
  padding-left: 18px;
  position: relative;
}
.byo-svc__deliverables li::before {
  content: ""; position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--byteout-blue);
  border-radius: 1px;
}
.byo-svc a.byo-arrow { margin-top: auto; padding-top: 16px; }

@media (max-width: 820px) {
  .byo-svc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT ACCENT (homepage S8)
   ============================================================ */
.byo-about {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.byo-about__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  color: var(--fg-2);
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 999px;
  margin: 0 0 28px;
}
.byo-about h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: var(--fw-bold);
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.byo-about p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 18px;
}
.byo-about__link { margin-top: 8px; }

/* ============================================================
   FINAL CTA — dark
   ============================================================ */
.byo-finalcta {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.byo-finalcta::before {
  content: ""; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle at center, rgba(5,181,245,.18), transparent 60%);
  pointer-events: none;
}
.byo-finalcta__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 32px; }
.byo-finalcta h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 28px;
  text-wrap: balance;
}
.byo-finalcta p {
  font-size: 19px; line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin: 0 0 16px;
}
.byo-finalcta p:last-of-type { margin-bottom: 40px; }

/* ============================================================
   SERVICES — sticky anchor bar
   ============================================================ */
.byo-anchors {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--border-1);
}
.byo-anchors__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 32px;
  display: flex; gap: 10px; align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.byo-anchors__inner::-webkit-scrollbar { display: none; }
.byo-anchors__label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3);
  margin-right: 8px;
  white-space: nowrap;
}
.byo-anchors a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--fg-2);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all var(--dur-base) var(--ease-out);
}
.byo-anchors a:hover {
  color: var(--charcoal);
  background: var(--slate-50);
}
.byo-anchors a.is-active {
  color: var(--byteout-blue);
  background: var(--byteout-blue-50);
  border-color: var(--byteout-blue-100);
}
.byo-anchors a .num {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: .7;
}
@media (max-width: 720px) {
  .byo-anchors__inner { padding: 10px 20px; }
  .byo-anchors__label { display: none; }
}

/* ============================================================
   SERVICES DETAIL BLOCK
   ============================================================ */
.byo-svc-detail { scroll-margin-top: 140px; }
.byo-svc-detail__head {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-1);
  margin-bottom: 48px;
}
.byo-svc-detail__num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--byteout-blue);
  margin: 0 0 12px;
}
.byo-svc-detail__head h2 {
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.025em; line-height: 1.0;
  color: var(--ink);
  margin: 0;
}
.byo-svc-detail__tag {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  color: var(--fg-2);
  line-height: 1.4;
  margin: 0;
  text-wrap: balance;
}
@media (max-width: 820px) {
  .byo-svc-detail__head { grid-template-columns: 1fr; gap: 16px; }
  .byo-svc-detail__tag { font-size: 18px; }
}

.byo-svc-detail__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.byo-svc-detail__body p {
  font-size: 17px; line-height: 1.65;
  color: var(--fg-1); margin: 0 0 18px;
}
.byo-svc-detail__deliverables {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  position: sticky; top: 140px;
}
.byo-svc-detail--muted .byo-svc-detail__deliverables {
  background: var(--bg-page);
}
.byo-svc-detail__deliverables h4 {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 16px;
}
.byo-svc-detail__deliverables ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.byo-svc-detail__deliverables li {
  font-size: 15px; line-height: 1.5;
  color: var(--fg-1);
  padding-left: 22px;
  position: relative;
}
.byo-svc-detail__deliverables li::before {
  content: ""; position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 2px;
  background: var(--byteout-blue);
}
.byo-svc-detail__deliverables li strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
@media (max-width: 820px) {
  .byo-svc-detail__body { grid-template-columns: 1fr; gap: 32px; }
  .byo-svc-detail__deliverables { position: static; }
}

.byo-svc-detail__meta {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.byo-svc-detail__meta-row {
  font-size: 16px; line-height: 1.6;
  color: var(--fg-1);
  padding: 14px 0;
  border-top: 1px dashed var(--border-1);
}
.byo-svc-detail__meta-label {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--byteout-blue);
  margin-right: 8px;
}

/* ============================================================
   ENGAGEMENT MODELS
   ============================================================ */
.byo-models {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.byo-model {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: all var(--dur-base) var(--ease-out);
}
.byo-model:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--byteout-blue-100); }
.byo-model__cad {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--byteout-blue);
  padding: 6px 12px;
  background: var(--byteout-blue-50);
  border-radius: 999px;
  align-self: flex-start;
  margin: 0 0 16px;
}
.byo-model h3 {
  font-size: 22px; font-weight: var(--fw-heavy);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 12px;
}
.byo-model p {
  font-size: 15px; line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 820px) {
  .byo-models { grid-template-columns: 1fr; }
}

.byo-no-list {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
}
.byo-no-list__head {
  font-size: 18px; font-weight: var(--fw-bold);
  color: var(--ink);
  margin: 0 0 16px;
}
.byo-no-list ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.byo-no-list li {
  font-size: 15px; line-height: 1.6;
  color: var(--fg-1);
  padding-left: 28px;
  position: relative;
}
.byo-no-list li::before {
  content: "\2715";
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--danger);
  font-weight: 600;
}
.byo-no-list li strong {
  display: block;
  color: var(--ink); font-weight: 700;
  margin-bottom: 4px;
}
@media (max-width: 820px) {
  .byo-no-list ul { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   ABOUT-US — editorial / magazine treatment
   ============================================================ */
.byo-edit-hero { padding: 96px 0 64px; }
.byo-edit-hero__inner { max-width: 880px; }
.byo-edit-hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
  margin: 0 0 40px;
  text-wrap: balance;
}
.byo-edit-hero h1 .nerds-emoji {
  font-size: 0.82em; display: inline-block; margin-left: 8px;
  vertical-align: 12%;
}
.byo-edit-hero__lede {
  max-width: 720px;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  color: var(--fg-1);
  margin: 0 0 24px;
}
.byo-edit-hero__body {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0 0 20px;
}
.byo-edit-hero__rule {
  width: 80px; height: 2px;
  background: var(--ink);
  margin: 48px 0 24px;
}

.byo-edit-section { padding: 88px 0; }
.byo-edit-section--muted { background: var(--slate-50); }
.byo-edit-section__inner {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 720px);
  gap: 64px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
.byo-edit-section__margin {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--byteout-blue);
  padding-top: 4px;
  position: sticky;
  top: 88px;
}
.byo-edit-section__margin span {
  display: block;
  color: var(--fg-3);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
  font-family: var(--font-sans);
}
.byo-edit-section__body h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.byo-edit-section__body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-1);
  margin: 0 0 22px;
}
.byo-edit-section__body p:last-child { margin-bottom: 0; }
.byo-edit-section__body p strong { color: var(--ink); font-weight: 700; }
@media (max-width: 820px) {
  .byo-edit-section__inner { grid-template-columns: 1fr; gap: 16px; }
  .byo-edit-section__margin { position: static; }
}

.byo-pull {
  margin: 40px 0 8px;
  padding: 0;
  border: none;
}
.byo-pull q, .byo-pull p {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
  quotes: "\201C" "\201D";
}
.byo-pull q::before, .byo-pull q::after {
  color: var(--byteout-blue);
  font-style: normal;
  font-weight: 700;
  margin: 0 4px;
}
.byo-pull__source {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.byo-setup {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 32px 0 0;
}
.byo-setup__col {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.byo-setup__col-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--byteout-blue);
  margin: 0 0 10px;
}
.byo-setup__col h3 {
  font-size: 19px;
  font-weight: var(--fw-heavy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}
.byo-setup__col p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-1);
  margin: 0;
}
@media (max-width: 820px) {
  .byo-setup { grid-template-columns: 1fr; gap: 24px; }
}

.byo-principles {
  display: flex; flex-direction: column;
  gap: 56px;
  margin: 24px 0 0;
}
.byo-principle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: baseline;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-1);
}
.byo-principle:last-child { border-bottom: none; padding-bottom: 0; }
.byo-principle h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}
.byo-principle p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-1);
  margin: 0;
}
@media (max-width: 720px) {
  .byo-principle { grid-template-columns: 1fr; gap: 16px; }
}

.byo-vision {
  background: var(--ink);
  color: #fff;
  padding: 120px 0;
}
.byo-vision__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.byo-vision .byo-eyebrow { color: var(--byteout-blue); }
.byo-vision h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 32px;
  text-wrap: balance;
}
.byo-vision__lede {
  font-size: 22px;
  font-weight: var(--fw-medium);
  font-style: italic;
  color: rgba(255,255,255,.92);
  line-height: 1.4;
  margin: 0 0 24px;
  text-wrap: balance;
}
.byo-vision__body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin: 0 0 20px;
}
.byo-vision__rule {
  width: 60px; height: 2px;
  background: var(--byteout-blue);
  margin: 0 auto 32px;
}

.byo-finalcta--light {
  background: var(--slate-50);
  color: var(--ink);
  padding: 120px 0;
  text-align: center;
}
.byo-finalcta--light::before { display: none; }
.byo-finalcta--light h2 {
  color: var(--ink);
  font-size: clamp(36px, 4.4vw, 56px);
  margin: 0 0 24px;
}
.byo-finalcta--light p {
  color: var(--fg-1);
  font-size: 19px;
  margin: 0 0 32px;
}
.byo-finalcta--light .byo-eyebrow { color: var(--byteout-blue); }
