/*
Theme Name: PixelByte Digital
Author: PixelByte Digital
Description: Editorial marketing theme for PixelByte Digital. Human-led strategy, practical AI.
Version: 2.0.3
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: pixelbyte
*/

:root {
  --ink: #16160f;
  --muted: #5f5c54;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --line: rgba(20, 20, 15, 0.14);
  --black: #0e0f0c;
  --black-2: #171814;
  --bone: #f4f1ea;
  --bone-dim: #c9c3b4;
  --acid: #dff25a;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--acid); color: var(--black); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.94;
  color: inherit;
  margin: 0 0 18px;
}
h1 { font-size: clamp(3.1rem, 6.4vw, 6.4rem); }
h2 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
h3 { font-size: clamp(1.55rem, 2vw, 2rem); letter-spacing: -0.03em; }
p { margin: 0 0 16px; }
a { color: inherit; text-underline-offset: 3px; }
ul { padding-left: 18px; }
li { margin: 8px 0; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.skip-link { position: absolute; top: -120px; left: 16px; background: var(--acid); color: var(--black); padding: 12px 16px; z-index: 1000; }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.shell { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.staging-banner { background: var(--acid); color: var(--black); text-align: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 15, 12, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; position: relative; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  text-decoration: none;
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.brand em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--acid); }
.mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 3px; }
.mark i { width: 8px; height: 8px; background: var(--acid); display: block; }
.mark i:nth-child(2),
.mark i:nth-child(3) { background: transparent; box-shadow: inset 0 0 0 1px var(--acid); }
.main-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.main-nav a {
  color: rgba(244, 241, 234, 0.74);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--bone); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--acid); }
#primary-menu li { list-style: none; margin: 0; padding: 0; }
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(244, 241, 234, 0.28);
  background: transparent;
  color: var(--bone);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 44px;
  cursor: pointer;
}
.btn, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--acid);
  color: var(--black);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover, .wp-block-button__link:hover { background: #fff; color: var(--black); }
.header-cta { padding: 11px 16px !important; font-size: 13px !important; flex-shrink: 0; }
.cta-short { display: none; }
.buttons { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

/* Hero */
.ai-hero {
  position: relative;
  background: var(--black);
  color: var(--bone);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(223, 242, 90, 0.18), transparent 36%),
    radial-gradient(ellipse at 0% 90%, rgba(223, 242, 90, 0.07), transparent 32%);
}
.hero-copy { position: relative; padding-top: 42px; padding-bottom: 36px; }
.hero-meta, .ai-kicker, .hero-meta-side, .eyebrow, .board-kicker, .board-note, .demo-top, .lab-principles {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--bone-dim); margin-bottom: 28px; }
.ai-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); letter-spacing: 0.16em; }
.ai-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(223, 242, 90, 0.15); }
.hero-meta-side { color: var(--bone-dim); }
.ai-hero h1 {
  color: var(--bone);
  font-size: clamp(3.4rem, 6.6vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: 12em;
  margin: 0 0 28px;
}
.ai-hero h1 em { font-style: italic; color: var(--acid); white-space: nowrap; }
.ai-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: end; }
.ai-hero-copy > p { color: var(--bone-dim); font-size: 18px; line-height: 1.55; max-width: 38em; }
.ai-text-link { color: var(--bone); text-decoration: none; border-bottom: 1px solid rgba(244, 241, 234, 0.35); padding-bottom: 2px; font-size: 14px; }
.ai-text-link:hover { border-color: var(--acid); color: var(--acid); }
.hero-signoff { position: relative; margin-top: 28px; padding-left: 22px; color: var(--bone-dim); font-size: 13px; line-height: 1.7; }
.hero-signoff > span:last-child { color: rgba(244, 241, 234, 0.5); }
.tiny-pixels { position: absolute; left: 0; color: var(--acid); }
.studio-board { border-top: 1px solid rgba(244, 241, 234, 0.18); }
.board-kicker { color: rgba(244, 241, 234, 0.48); margin: 0 0 6px; padding-top: 14px; }
.studio-board ol { list-style: none; margin: 0; padding: 0; }
.studio-board li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.18);
}
.studio-board li > span { font-variant-numeric: tabular-nums; color: var(--acid); font-size: 12px; letter-spacing: 0.12em; }
.studio-board strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.studio-board small { display: block; margin-top: 6px; color: var(--bone-dim); letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.board-note { margin: 14px 0 0; color: rgba(244, 241, 234, 0.42); letter-spacing: 0.12em; }
.marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(244, 241, 234, 0.14); }
.marquee-track { display: flex; width: max-content; animation: pb-marquee 36s linear infinite; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0 16px 28px;
  color: rgba(244, 241, 234, 0.72);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 560;
}
.marquee-track span::before { content: "✦"; color: var(--acid); }
@keyframes pb-marquee { to { transform: translateX(-50%); } }

/* Lab */
.ai-lab { background: var(--paper); scroll-margin-top: 90px; }
.section { padding: 108px 0; }
.lab-heading, .section-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
  max-width: none;
}
.lab-heading h2, .section-head h2 { margin: 0; }
.lab-heading > p, .section-head > p:not(.eyebrow), .section-head .wp-block-paragraph:last-child:not(.eyebrow) { color: var(--muted); margin: 0; max-width: 36em; font-size: 16px; }
.eyebrow { display: block; color: #6d6840; margin: 0 0 16px; }
.dark .eyebrow, .page-intro .eyebrow, .ai-hero .eyebrow { color: var(--acid); }
.lab-heading .eyebrow { grid-column: 1 / -1; }
.section-head .eyebrow { grid-column: 1 / -1; }
.lab-layout { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 22px; align-items: stretch; }
.lab-options { display: flex; flex-direction: column; gap: 10px; }
.lab-option {
  display: flex;
  gap: 16px;
  align-items: center;
  text-align: left;
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 22px 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lab-option > span { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.lab-option strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -0.03em; }
.lab-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 450; }
.lab-option b { margin-left: auto; font-weight: 400; }
.lab-option.active, .lab-option:hover { background: var(--black); border-color: var(--black); color: var(--bone); }
.lab-option.active > span, .lab-option:hover > span, .lab-option.active small, .lab-option:hover small { color: var(--acid); }
.lab-demo { background: var(--black); color: var(--bone); padding: 32px 32px 28px; min-height: 100%; }
.demo-top { display: flex; justify-content: space-between; gap: 12px; color: rgba(244, 241, 234, 0.5); }
.demo-badge { letter-spacing: 0.08em; text-transform: none; font-weight: 500; font-size: 12px; }
.demo-route { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 28px 0 22px; font-size: 12px; }
.demo-route > span:not([aria-hidden]) { padding: 8px 10px; background: #24241e; color: var(--bone); }
.demo-route > .route-ai { background: var(--acid) !important; color: var(--black) !important; }
.lab-demo h3 { font-size: clamp(2rem, 3vw, 2.7rem); max-width: 16ch; margin-bottom: 14px; }
.lab-demo > p { color: var(--bone-dim); font-size: 15px; max-width: 42em; min-height: 72px; }
.demo-output { position: relative; border-left: 2px solid var(--acid); padding: 8px 36px 8px 16px; margin: 8px 0 22px; }
.demo-output > span:first-child { display: block; letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; color: rgba(244, 241, 234, 0.5); margin-bottom: 6px; }
.demo-output strong { font-weight: 500; font-size: 15px; }
.output-star { position: absolute; right: 0; top: 8px; color: var(--acid); }
.lab-demo > a { color: var(--acid); text-decoration: none; font-size: 14px; font-weight: 600; }
.lab-demo > a:hover { color: #fff; }
.lab-principles { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; color: var(--muted); letter-spacing: 0.12em; }
.lab-principles span::before { content: "✦ "; color: #8a8640; }

/* Sections, cards, process, pricing */
.soft { background: var(--paper-2); }
.dark { background: var(--black); color: var(--bone); }
.section.dark p, .dark .benefit p, .manifesto li { color: var(--bone-dim); }
.grid { display: grid; gap: 22px; }
.grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.grid.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.grid.process-grid { grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 28px 26px 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.grid.grid-3 > .card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid.grid-3 > .card:nth-child(3n) { border-right: 0; }
.card p { color: var(--muted); font-size: 15px; }
.card h3 { margin: 18px 0 12px; }
.card .card-num {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
}
.card a { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; padding: 12px 0 0; }
.card a:not(.btn) { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.card a.btn { text-transform: none; letter-spacing: -0.015em; font-size: 14px; padding: 14px 22px; }
.card a:hover { color: var(--acid); }
.grid.grid-3 > .card:hover { background: var(--black); color: var(--bone); }
.grid.grid-3 > .card:hover p { color: var(--bone-dim); }
.grid.grid-3 > .card:hover a, .grid.grid-3 > .card:hover .card-num, .grid.grid-3 > .card:hover .label { color: var(--acid); }
.card.flagship { background: var(--acid); color: var(--black); }
.card.flagship p, .card.flagship a, .card.flagship .card-num { color: #1c1e12; }
.card.flagship .label {
  position: absolute;
  right: 22px;
  top: 28px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.card.flagship:hover { background: var(--black); color: var(--bone); }
.card.flagship:hover p { color: var(--bone-dim); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.benefit { border-top: 1px solid var(--line); padding: 22px 0 8px; }
.dark .benefit { border-top-color: rgba(244, 241, 234, 0.16); }
.benefit h3 { font-size: 1.7rem; margin-bottom: 8px; }
.benefit p { font-size: 15px; color: var(--muted); }
.manifesto { border: 1px solid rgba(244, 241, 234, 0.18); padding: 32px; background: transparent; }
.manifesto h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.manifesto ul { list-style: none; padding: 0; margin: 0; }
.manifesto li { border-bottom: 1px solid rgba(244, 241, 234, 0.16); padding: 14px 0; margin: 0; }
.step { border-right: 1px solid var(--line); padding: 28px 22px 8px; }
.grid.process-grid > .step:last-child { border-right: 0; }
.step .number { display: block; font-family: var(--serif); font-style: italic; font-size: 42px; line-height: 1; color: var(--ink); margin: 0 0 18px; letter-spacing: -0.04em; }
.step h3 { font-size: 1.45rem; }
.step p { font-size: 14px; color: var(--muted); }
.card.price-card {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 100%;
  padding: 26px 22px 22px;
}
.card.price-card:hover { background: #fff; color: inherit; }
.card.price-card h3 { font-size: 1.85rem; margin: 0 0 8px; }
.card.price-card .price {
  font-family: var(--serif) !important;
  font-size: clamp(1.8rem, 2vw, 2.15rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  color: var(--ink);
  margin: 18px 0;
}
.card.price-card li { color: var(--muted); font-size: 14px; }
.card.price-card ul { padding-left: 16px; flex: 1; }
.card.price-card .btn { width: 100%; background: var(--black); color: var(--bone); margin-top: 12px; }
.card.price-card .btn:hover { background: var(--acid); color: var(--black); }
.card.price-card.featured { background: var(--black); color: var(--bone); border-color: var(--black); }
.card.price-card.featured p, .card.price-card.featured li { color: var(--bone-dim); }
.card.price-card.featured .price { color: var(--acid) !important; }
.card.price-card.featured .btn { background: var(--acid); color: var(--black); }
.fine-print { font-size: 13px !important; color: var(--muted); max-width: 70em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; background: transparent; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 8px 0; }
summary { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.15rem); font-weight: 400; letter-spacing: -0.03em; cursor: pointer; list-style: none; position: relative; padding: 18px 42px 18px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-size: 28px; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); max-width: 46em; padding-bottom: 12px; }
.cta-panel {
  background: var(--black);
  color: var(--bone);
  border: 0;
  border-radius: 0;
  padding: 64px 56px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}
.cta-panel h2 { color: var(--bone); font-size: clamp(2.8rem, 5vw, 4.6rem); max-width: 12ch; margin: 0 0 12px; }
.cta-panel p { color: var(--bone-dim); margin: 0; max-width: 36em; }
.cta-panel .btn { flex-shrink: 0; }

/* Footer */
.site-footer { background: var(--black); color: var(--bone-dim); padding: 0 0 28px; font-size: 14px; }
.footer-statement { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 84px 0 48px; border-bottom: 1px solid rgba(244, 241, 234, 0.14); }
.footer-statement p { font-family: var(--serif); font-size: clamp(3rem, 6.2vw, 6rem); line-height: 0.96; letter-spacing: -0.04em; color: var(--bone); margin: 0; }
.footer-statement em { font-style: italic; color: var(--acid); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.8fr 1fr; gap: 48px; padding-top: 42px; }
.site-footer .brand { margin-bottom: 16px; }
.site-footer h3 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 650; color: var(--bone); margin: 0 0 14px; }
.site-footer a { color: var(--bone-dim); text-decoration: none; }
.site-footer a:hover { color: var(--acid); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; }
.footer-mail { display: inline-block; margin-top: 8px; color: var(--bone) !important; border-bottom: 1px solid rgba(223, 242, 90, 0.7); }
.footer-note { margin-top: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(244, 241, 234, 0.14); margin-top: 36px; padding-top: 18px; font-size: 12px; letter-spacing: 0.04em; }
.footer-bottom a { margin-right: 14px; }

/* Inner pages */
.page-intro { background: var(--black); color: var(--bone); padding: 72px 0 78px; }
.page-intro h1 { color: var(--bone); max-width: 14ch; font-size: clamp(3.2rem, 6.2vw, 6rem); }
.page-intro p { max-width: 38em; color: var(--bone-dim); font-size: 18px; }
.breadcrumb { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 241, 234, 0.55); margin-bottom: 18px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.prose { max-width: 760px; margin: 0 auto; padding: 72px 28px 90px; }
.prose h2 { font-size: 2.4rem; margin-top: 36px; }
.prose h3 { margin-top: 28px; }
.founder-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  background: var(--black);
  color: var(--bone);
  border-radius: 0;
}
.founder-placeholder strong { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 92px; letter-spacing: -0.05em; color: var(--acid); line-height: 0.9; }
.founder-placeholder span { color: var(--bone-dim); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; }
.pb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.pb-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.pb-form input, .pb-form select, .pb-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 450;
}
.pb-form textarea { min-height: 140px; resize: vertical; }
.pb-form .full { grid-column: 1 / -1; }
.pb-form .notice { font-size: 12px; color: var(--muted); font-weight: 450; }
.pb-form a, .card .pb-form a { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; margin-top: 0; padding: 0; display: inline; }
.pb-form button { justify-self: start; }
.pb-form .btn.full { width: 100%; justify-self: stretch; }
.book-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.book-day { border-top: 1px solid var(--line); padding-top: 18px; }
.book-day h2 { font-size: 1.7rem; margin: 0 0 14px; }
.slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
button.slot {
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.015em;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
button.slot:hover { background: var(--acid); border-color: var(--acid); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice-box { padding: 16px 18px; border: 1px solid var(--line); background: #fff; margin-bottom: 22px; }
.notice-box.error { border-color: #a33; background: #fff6f4; }
.post-list { padding: 72px 0 90px; }
.post-card { max-width: 760px; margin: 0 0 8px; border-bottom: 1px solid var(--line); padding: 22px 0 26px; }
.post-card h2 { font-size: 2.2rem; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: #5c6218; }
.post-meta { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.empty-state { background: transparent; border-top: 1px solid var(--line); padding: 36px 0; max-width: 720px; }
.legal-note { padding: 16px 18px; background: #fff8df; border-left: 3px solid var(--acid); }
.wp-block-group { box-sizing: border-box; }
.wp-block-image img { border-radius: 0; }
body .is-layout-constrained > * { margin-block-start: 0; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.wp-block-shortcode { margin: 0; }

/* Legacy blocks, still styled if an older section is present */
.hero { background: var(--black); color: var(--bone); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; padding: 72px 0; }
.trust-strip { border-bottom: 1px solid var(--line); }

/* Selected client work */
.work-home { background: var(--paper); border-top: 1px solid var(--line); }
.work-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-home-card, .work-piece { min-width: 0; }
.work-home-card {
  border: 1px solid var(--line);
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.work-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d6840;
  font-weight: 600;
}
.work-home-card h3 { font-size: clamp(1.8rem, 2vw, 2.3rem); margin: 0 0 12px; }
.work-home-card > p { color: var(--muted); font-size: 15px; }
.work-stat { color: var(--ink) !important; font-weight: 600; letter-spacing: -0.02em; }
.work-quote { margin: 18px 0 0; }
.work-quote blockquote { margin: 0; }
.work-quote blockquote p {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.work-quote figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.work-quote figcaption strong { color: var(--ink); font-weight: 600; }
.work-quote figcaption a { color: inherit; font-weight: 600; text-decoration: none; }
.work-quote figcaption a:hover { color: var(--black); }
.work-more {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.work-home-link { margin: 36px 0 0; }
.work-piece {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.work-piece h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 12ch; }
.work-piece-main > p { color: var(--muted); max-width: 38em; }
.work-outcomes { list-style: none; padding: 0; margin: 8px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.work-outcomes li {
  margin: 0;
  border: 1px solid var(--line);
  padding: 7px 10px;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper-2);
}
.work-services { font-size: 13px; letter-spacing: 0.01em; }
.work-list .work-quote blockquote p { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.work-note { color: var(--muted); font-size: 14px; max-width: 46em; margin-top: 28px; }
.workflow { background: var(--black-2); color: var(--bone); padding: 24px; border: 1px solid rgba(244, 241, 234, 0.14); }

@media (min-width: 1500px) {
  .hero-copy { padding-top: 72px; }
}
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 8px 22px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(244, 241, 234, 0.12);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-family: var(--serif); font-size: 32px; line-height: 1.15; padding: 8px 0; color: var(--bone); letter-spacing: -0.03em; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-cta { margin-left: 10px; }
  .ai-hero-grid, .lab-layout, .lab-heading, .section-head, .split, .contact-grid, .footer-grid, .cta-panel, .footer-statement { grid-template-columns: 1fr; display: grid; }
  .footer-statement, .cta-panel { display: grid; }
  .grid.grid-3 { grid-template-columns: 1fr 1fr; }
  .grid.grid-3 > .card:nth-child(3n) { border-right: 1px solid var(--line); }
  .grid.grid-3 > .card:nth-child(2n) { border-right: 0; }
  .grid.grid-4, .grid.process-grid, .book-days, .work-home-grid { grid-template-columns: 1fr 1fr; }
  .work-piece { grid-template-columns: 1fr; gap: 18px; }
  .grid.process-grid > .step:nth-child(2n) { border-right: 0; }
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { padding: 0 20px; }
  .section { padding: 72px 0; }
  .admin-bar .site-header { top: 46px; }
  .ai-hero { min-height: 0; }
  .hero-copy { padding-top: 28px; padding-bottom: 24px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .hero-meta-side { display: none; }
  .ai-hero h1 { font-size: clamp(2.8rem, 12vw, 4.1rem); max-width: none; }
  .ai-hero h1 em { white-space: normal; }
  .ai-hero-copy > p { font-size: 16px; }
  .studio-board strong { font-size: 28px; }
  .grid.grid-3, .grid.grid-2, .grid.grid-4, .grid.process-grid, .pb-form, .book-days, .work-home-grid { grid-template-columns: 1fr; }
  .grid.grid-3 > .card, .step { border-right: 0; }
  .card { min-height: 0; padding: 24px 4px; }
  .card.price-card { padding: 24px 18px; }
  .cta-panel, .footer-statement { padding-left: 0; padding-right: 0; }
  .cta-panel { padding: 36px 22px; }
  .page-intro { padding: 48px 0 56px; }
  .page-intro h1 { max-width: none; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 8px; }
  .lab-demo > p { min-height: 0; }
  .lab-principles { flex-direction: column; align-items: flex-start; }
  .buttons { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .btn, .lab-option, .card { transition: none; }
}
