/* ============================================================
   bobclary.com — shared stylesheet
   ============================================================ */

:root {
  --paper: #FFFFFF;
  --paper-soft: #F7F4EE;
  --paper-dim: #EFEAE1;
  --ink: #0B0B0B;
  --ink-soft: #1A1A1A;
  --muted: #6B6B6B;
  --muted-2: #999999;
  --accent: #FF5B14;
  --accent-dim: #E04A0A;
  --accent-wash: rgba(255, 91, 20, 0.1);
  --rule: rgba(11, 11, 11, 0.12);
  --rule-soft: rgba(11, 11, 11, 0.07);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(64px, 10vw, 140px) 0; position: relative; }

/* ============================================================
   NAV
   ============================================================ */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--rule);
}
nav.top .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: block;
  color: var(--ink);
  transition: opacity 0.2s;
  line-height: 0;
}
.brand:hover { opacity: 0.75; }
.brand svg {
  display: block;
  height: 40px;
  width: auto;
}
.brand .dot { color: var(--accent); }
@media (max-width: 640px) {
  .brand svg { height: 32px; }
}
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px;
  letter-spacing: 0.01em;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: all 0.2s ease;
  opacity: 1 !important;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
@media (max-width: 780px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--ink); transform: translate(0, -2px); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--ink); color: var(--paper); transform: translate(0, -2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); transform: translate(0,-2px); }
.btn .arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   SECTION LABEL + TITLE
   ============================================================ */
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
  margin-bottom: 48px;
  max-width: 18ch;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

/* ============================================================
   PAGE HEADER (for inner pages)
   ============================================================ */
.page-header {
  padding-top: clamp(120px, 16vw, 160px);
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
}
.page-header .meta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.page-header .meta .bullet { color: var(--accent); }
.page-header h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 10vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
  margin-bottom: 24px;
  max-width: 14ch;
}
.page-header h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.page-header .lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  max-width: 54ch;
  color: var(--ink-soft);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: scroll 45s linear infinite;
}
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.marquee-item .bullet {
  color: var(--accent);
  font-style: normal;
  font-family: var(--sans);
  margin-left: 48px;
  font-size: 0.6em;
  vertical-align: 0.35em;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   TAG / PILL
   ============================================================ */
.tag {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--muted);
  display: inline-block;
}
.tag.tag-accent {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   CTA BLOCK (orange)
   ============================================================ */
.cta-block {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--accent);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,11,11,0.08) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.4;
}
.cta-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 900px) {
  .cta-content { grid-template-columns: 1fr; }
}
.cta-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
}
.cta-headline em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.cta-side p {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 36ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site {
  background: var(--paper-dim);
  color: var(--ink);
  padding: 72px 0 36px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 72px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  max-width: 14ch;
}
.footer-brand em { color: var(--accent); font-style: italic; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { font-size: 14px; margin-bottom: 10px; }
.footer-col a { opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.footer-col a:hover { color: var(--accent); opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 640px) {
  .footer-bottom {
    flex-wrap: nowrap;
    gap: 12px;
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
  .footer-bottom > span {
    white-space: nowrap;
  }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HOME PAGE STYLES
   ============================================================ */
.hero {
  padding-top: clamp(120px, 18vw, 180px);
  padding-bottom: clamp(80px, 12vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-meta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.hero-meta .bullet { color: var(--accent); }
.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
  margin-bottom: 48px;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero-headline .dim { opacity: 0.4; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.portrait-wrap {
  position: relative;
  padding: 12px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
}
.portrait-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.02);
}
.portrait-badge {
  position: absolute;
  top: -24px;
  right: -24px;
  background: var(--accent);
  color: var(--ink);
  padding: 18px 22px;
  border-radius: 999px;
  transform: rotate(6deg);
  box-shadow: 0 12px 40px rgba(11,11,11,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.portrait-badge .num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -0.04em;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}
.portrait-badge .num .x {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.55em;
  vertical-align: 0.05em;
  margin-left: 2px;
}
.portrait-badge .label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.portrait-caption {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.portrait-caption .signature {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.hero-right { padding-bottom: 0; }
.hero-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  max-width: 46ch;
  color: var(--ink-soft);
}
.hero-sub strong { font-weight: 700; }
.hero-cta-row {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 36px;
}

.hero-ministats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.ministat {
  padding: 28px 24px 4px 24px;
  border-right: 1px solid var(--rule);
}
.ministat:first-child { padding-left: 0; }
.ministat:last-child { border-right: none; padding-right: 0; }
@media (max-width: 640px) {
  .ministat { padding: 24px 16px 4px 16px; }
}
.ministat-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  margin-bottom: 6px;
}
.ministat-num .unit { color: var(--accent); font-family: var(--mono); font-size: 0.5em; font-weight: 500; vertical-align: 0.35em; }
.ministat-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  line-height: 1.4;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  padding: 40px 32px 48px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease;
}
.service:last-child { border-right: none; }
@media (max-width: 900px) {
  .service { border-right: none; }
  .service:last-child { border-bottom: none; }
}
.service:hover { background: var(--paper-soft); }
.service-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.service-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.service-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0.85;
  margin-bottom: 24px;
}
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Ventures */
.ventures-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.venture {
  display: grid;
  grid-template-columns: 150px 1fr 220px;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  transition: padding-left 0.3s ease;
  cursor: pointer;
  position: relative;
}
.venture::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}
.venture:hover::before { width: 3px; }
.venture:hover { padding-left: 24px; }
@media (max-width: 900px) {
  .venture { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; align-items: start; }
}
.venture-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
}
.venture-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.venture-main .label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 8px;
}
.venture-main .label .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.venture-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  margin-bottom: 10px;
}
.venture-name em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.venture-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0.85;
  max-width: 54ch;
}
.venture-link {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--ink);
  transition: color 0.2s;
}
@media (max-width: 900px) { .venture-link { justify-content: flex-start; } }
.venture:hover .venture-link { color: var(--accent); }
.venture-link .arrow { transition: transform 0.2s; }
.venture:hover .venture-link .arrow { transform: translate(4px, -4px); }

/* Case studies */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }
.case {
  padding: 48px 32px;
  border-right: 1px solid var(--rule);
}
.case:last-child { border-right: none; }
@media (max-width: 900px) {
  .case { border-right: none; border-bottom: 1px solid var(--rule); }
  .case:last-child { border-bottom: none; }
}
.case-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  margin-bottom: 16px;
}
.case-num .unit {
  font-size: 0.4em;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 500;
  vertical-align: 0.6em;
  margin-left: 4px;
}
.case-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 24px;
}
.case-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  max-width: 20ch;
}
.case-client {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Testimonial featured */
.testimonial-featured {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper-soft);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quote-mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(180px, 24vw, 360px);
  line-height: 0.7;
  color: var(--accent);
  position: absolute;
  top: 32px; left: 4vw;
  opacity: 0.85;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  pointer-events: none;
}
.quote-body {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 72px;
}
.quote-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
  margin-bottom: 40px;
}
.quote-text strong {
  font-weight: 600;
  background: linear-gradient(180deg, transparent 64%, rgba(255,91,20,0.28) 64%, rgba(255,91,20,0.28) 94%, transparent 94%);
  padding: 0 2px;
}
.quote-attr {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.quote-attr strong { color: var(--ink); font-weight: 700; }

/* Testimonial grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 780px) { .testimonials-grid { grid-template-columns: 1fr; } }
.t-card {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.t-card:nth-child(2n) { border-right: none; }
.t-card:nth-child(3), .t-card:nth-child(4) { border-bottom: none; }
@media (max-width: 780px) {
  .t-card { border-right: none; }
  .t-card:nth-child(3) { border-bottom: 1px solid var(--rule); }
}
.t-card-quote-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 56px;
  line-height: 0.6;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin-bottom: 12px;
}
.t-card-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 28px;
  flex: 1;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.t-card-text strong {
  font-weight: 600;
  background: linear-gradient(180deg, transparent 66%, rgba(255,91,20,0.22) 66%, rgba(255,91,20,0.22) 94%, transparent 94%);
  padding: 0 1px;
}
.t-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-dim);
  flex-shrink: 0;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.02); }
.t-attr-text { display: flex; flex-direction: column; }
.t-name { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; color: var(--ink); }
.t-role { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-top: 2px; }

/* Press */
.press {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.press-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 36px;
}
.press-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.press-item {
  height: 28px;
  opacity: 0.72;
  filter: grayscale(100%);
  transition: opacity 0.2s, filter 0.2s;
}
.press-item:hover { opacity: 1; filter: grayscale(0%); }
.press-item img { height: 100%; width: auto; display: block; max-width: 140px; object-fit: contain; }

/* Off hours */
.off-hours {
  padding: clamp(64px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--rule);
}
.off-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .off-grid { grid-template-columns: 1fr; gap: 24px; } }
.off-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.off-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.off-text em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.form-field label .req { color: var(--accent); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--sans);
  line-height: 1.5;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper-soft);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23FF5B14' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form .consent {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.form button[type="submit"] {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.form button[type="submit"]:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}

.contact-info {
  padding: 32px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  position: sticky;
  top: 100px;
}
.contact-info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.contact-info h3 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.contact-info-row:first-of-type { border-top: none; padding-top: 0; }
.contact-info-row .label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.contact-info-row .value {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.contact-info-row a.value:hover { color: var(--accent); }

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding: 6px 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  margin-top: 24px;
}
.avail-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10B981;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   TOOLS PAGE
   ============================================================ */
.tools-intro {
  padding: clamp(64px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--rule);
}
.tools-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .tools-intro-grid { grid-template-columns: 1fr; gap: 32px; } }
.tools-intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
}
.tools-intro h2 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.tools-intro p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 16px;
}
.tools-intro .disclosure {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 16px;
}

.tool-category {
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--rule);
}
.tool-category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.tool-category-header h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.tool-category-header .cat-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.15em;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.tool {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tool:hover { background: var(--paper-soft); }
.tool-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.tool-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.tool-ext {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.tool-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  opacity: 0.88;
  flex: 1;
}
.tool-link {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: color 0.2s;
}
.tool-link:hover { color: var(--accent); }
.tool-link .arrow { transition: transform 0.2s; }
.tool-link:hover .arrow { transform: translate(3px, -3px); }

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-featured {
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--rule);
}
.blog-featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .blog-featured-grid { grid-template-columns: 1fr; } }
.blog-featured-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
}
.blog-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.blog-featured-grid:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-content .tag-row {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.blog-featured-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
}
.blog-featured-content h2 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.blog-featured-content .excerpt {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 54ch;
}
.blog-featured-content .meta {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 20px;
}

.blog-filter {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-filter .label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.blog-filter .pill {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.2s;
  cursor: pointer;
  background: none;
}
.blog-filter .pill:hover,
.blog-filter .pill.is-active {
  color: var(--ink);
  border-color: var(--ink);
}
.blog-filter .pill.is-active {
  background: var(--ink);
  color: var(--paper);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (max-width: 780px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}
.post-card:nth-child(2n) { border-right: none; }
@media (max-width: 780px) {
  .post-card { border-right: none; }
}
.post-card:hover { background: var(--paper-soft); }
.post-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-soft);
  margin-bottom: 8px;
  border: 1px solid var(--rule);
}
.post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card .meta {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.post-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.post-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0.85;
}
.post-card .read-more {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-card:hover .read-more { color: var(--accent); }
.post-card .read-more .arrow { transition: transform 0.2s; }
.post-card:hover .read-more .arrow { transform: translateX(4px); }

/* ============================================================
   BLOG POST (ARTICLE)
   ============================================================ */
.article-hero {
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(40px, 6vw, 60px);
}
.article-hero .breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 32px;
}
.article-hero .breadcrumb a { color: var(--muted); transition: color 0.2s; }
.article-hero .breadcrumb a:hover { color: var(--accent); }
.article-hero .breadcrumb .sep { margin: 0 10px; color: var(--rule); }
.article-hero .cat-row {
  display: flex; gap: 8px; margin-bottom: 28px;
}
.article-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
  max-width: 20ch;
  margin-bottom: 32px;
}
.article-hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.article-hero .meta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.article-image {
  width: 100%;
  margin: 0 0 48px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
}
.article-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) clamp(60px, 8vw, 100px);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.prose > * + * { margin-top: 1.25em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.25em; }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--accent-dim); }
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.prose h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}
.prose ul, .prose ol {
  margin: 1.25em 0;
  padding-left: 1.4em;
}
.prose li { margin-bottom: 0.6em; line-height: 1.6; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { font-style: italic; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 1.8em 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-style: italic;
}
.prose img {
  width: 100%;
  margin: 2em 0;
  border: 1px solid var(--rule);
}
.prose figure {
  margin: 2em 0;
}
.prose figure img { margin: 0; }
.prose figcaption {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}
.prose hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}

/* Article footer (author, related) */
.article-end {
  border-top: 1px solid var(--rule);
  padding: clamp(40px, 6vw, 72px) 0;
}
.author-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 640px) { .author-card { grid-template-columns: 64px 1fr; } .author-card .follow { grid-column: 1 / -1; } }
.author-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
}
.author-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-card .label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 4px;
}
.author-card .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.author-card .bio {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.related {
  border-top: 1px solid var(--rule);
  padding: clamp(60px, 8vw, 100px) 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
}
.related-card:last-child { border-right: none; }
@media (max-width: 900px) {
  .related-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .related-card:last-child { border-bottom: none; }
}
.related-card:hover { background: var(--paper-soft); }
.related-card .meta {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.related-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.related-card .arrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  margin-top: 8px;
}
.related-card:hover .arrow { color: var(--accent); }

/* ============================================================
   LANDING PAGES (/google-ads, /meta-ads-consultant)
   ============================================================ */

/* Minimal LP nav variant */
nav.top.lp {
  background: rgba(255, 255, 255, 0.92);
}
nav.top.lp .nav-links { gap: 20px; }
.nav-phone {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--accent); }
.nav-phone::before {
  content: '☎';
  margin-right: 6px;
  color: var(--accent);
}

/* LP HERO */
.lp-hero {
  padding-top: clamp(110px, 14vw, 160px);
  padding-bottom: clamp(48px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 960px) { .lp-hero-grid { grid-template-columns: 1fr; } }

.lp-hero-meta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.lp-hero-meta .bullet { color: var(--accent); }

.lp-hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7.5vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
  margin-bottom: 28px;
}
.lp-hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.lp-hero-headline .dim { opacity: 0.4; }
.lp-hero-headline .strike {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  opacity: 0.45;
}

.lp-hero-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 40px;
}
.lp-hero-sub strong { color: var(--ink); font-weight: 700; background: linear-gradient(180deg, transparent 64%, rgba(255,91,20,0.22) 64%, rgba(255,91,20,0.22) 94%, transparent 94%); padding: 0 2px; }

.lp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
.lp-stat {
  padding: 24px 20px 4px 0;
  border-right: 1px solid var(--rule);
}
.lp-stat:last-child { border-right: none; padding-right: 0; }
.lp-stat-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  margin-bottom: 8px;
}
.lp-stat-num .unit {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.45em;
  font-weight: 500;
  vertical-align: 0.4em;
}
.lp-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  line-height: 1.4;
}

/* LP FORM CARD */
.lp-form-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  position: relative;
  overflow: hidden;
}
.lp-form-card-header {
  background: var(--ink);
  color: var(--paper);
  padding: 24px 28px;
}
.lp-form-card-header h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.lp-form-card-header h3 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.lp-form-card-header p {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream-dim);
  opacity: 0.9;
}
.lp-form-card .form {
  padding: 28px;
  gap: 18px;
}
.lp-form-card .form-field input,
.lp-form-card .form-field select,
.lp-form-card .form-field textarea {
  padding: 12px 14px;
  font-size: 15px;
  border-color: var(--rule);
}
.lp-form-card .form-field textarea { min-height: 90px; }
.lp-form-card .form button[type="submit"] {
  width: 100%;
  justify-content: center;
  background: var(--accent);
  color: var(--ink);
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lp-form-card .form button[type="submit"]:hover {
  background: var(--ink);
  color: var(--paper);
}
.lp-form-card .form .consent {
  font-size: 11px;
  text-align: center;
  margin-top: -4px;
}

/* TRUST STRIP */
.lp-trust-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 20px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
}
.lp-trust-track {
  display: inline-flex;
  gap: 48px;
  animation: scroll 50s linear infinite;
  align-items: center;
}
.lp-trust-item {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.lp-trust-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* COMPARISON */
.lp-comparison {
  padding: clamp(72px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--rule);
}
.lp-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 40px;
}
@media (max-width: 780px) { .lp-comparison-grid { grid-template-columns: 1fr; } }
.lp-comparison-col {
  padding: 40px 36px;
}
.lp-comparison-col.bad {
  background: var(--paper-soft);
  border-right: 1px solid var(--rule);
}
@media (max-width: 780px) {
  .lp-comparison-col.bad {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
}
.lp-comparison-col.good {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.lp-comparison-col.good::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,91,20,0.1) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
}
.lp-comparison-head {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.lp-comparison-col.bad .lp-comparison-head { color: var(--muted); }
.lp-comparison-col.good .lp-comparison-head { color: var(--accent); }
.lp-comparison-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  position: relative;
  z-index: 2;
}
.lp-comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}
.lp-comparison-list li {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.lp-comparison-col.good .lp-comparison-list li { border-top-color: rgba(255, 255, 255, 0.1); }
.lp-comparison-list li:first-child { border-top: none; }
.lp-comparison-list .mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-weight: 700;
  font-family: var(--mono);
  font-size: 12px;
}
.lp-comparison-col.bad .mark { color: var(--muted); }
.lp-comparison-col.good .mark { color: var(--accent); }

/* METHODOLOGY */
.lp-method {
  padding: clamp(72px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--rule);
}
.lp-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 40px;
}
@media (max-width: 900px) { .lp-method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-method-grid { grid-template-columns: 1fr; } }
.lp-method-item {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.lp-method-item:nth-child(3n) { border-right: none; }
.lp-method-item:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 900px) {
  .lp-method-item:nth-child(3n) { border-right: 1px solid var(--rule); }
  .lp-method-item:nth-child(2n) { border-right: none; }
  .lp-method-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .lp-method-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .lp-method-item { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .lp-method-item:last-child { border-bottom: none !important; }
}
.lp-method-item:hover { background: var(--paper-soft); }
.lp-method-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}
.lp-method-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 12px;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.lp-method-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0.88;
}

/* GUARANTEES BAR */
.lp-guarantees {
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--rule);
}
.lp-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-top: 32px;
}
@media (max-width: 780px) { .lp-guarantee-grid { grid-template-columns: 1fr; } }
.lp-guarantee {
  padding: 32px 24px;
  border-right: 1px solid var(--rule);
  text-align: left;
}
.lp-guarantee:last-child { border-right: none; }
@media (max-width: 780px) {
  .lp-guarantee {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .lp-guarantee:last-child { border-bottom: none; }
}
.lp-guarantee-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.lp-guarantee-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 8px;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.lp-guarantee-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* LP CASE STUDIES */
.lp-cases {
  padding: clamp(72px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--rule);
}
.lp-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 40px;
}
@media (max-width: 900px) { .lp-cases-grid { grid-template-columns: 1fr; } }
.lp-case {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.lp-case:last-child { border-right: none; }
@media (max-width: 900px) {
  .lp-case {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .lp-case:last-child { border-bottom: none; }
}
.lp-case-logo {
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.lp-case-logo img {
  max-height: 100%;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.85;
}
.lp-case-stat {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  margin-bottom: 10px;
}
.lp-case-stat .unit {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.4em;
  font-weight: 500;
  vertical-align: 0.5em;
}
.lp-case-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 20px;
}
.lp-case-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.lp-case-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0.88;
}

/* AWARDS CALLOUT */
.lp-awards {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--accent);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.lp-awards::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,11,11,0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.lp-awards-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .lp-awards-grid { grid-template-columns: 1fr; gap: 32px; } }
.lp-awards-big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
}
.lp-awards-big .x {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.4em;
  vertical-align: 0.5em;
  margin-left: 4px;
}
.lp-awards-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}
.lp-awards-body h3 em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.lp-awards-body p {
  font-size: 17px;
  line-height: 1.5;
  max-width: 54ch;
}

/* FINAL CLOSING CTA (differentiated from generic cta-block) */
.lp-closing {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--ink);
  color: var(--paper);
}
.lp-closing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .lp-closing-grid { grid-template-columns: 1fr; gap: 40px; } }
.lp-closing-head {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
  margin-bottom: 24px;
}
.lp-closing-head em { font-style: italic; color: var(--accent); font-variation-settings: "SOFT" 100, "WONK" 1; }
.lp-closing-sub {
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 46ch;
}
.lp-closing-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.lp-closing-contact-row {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}
.lp-closing-contact-row .key { color: var(--accent); }
.lp-closing-contact-row a { color: var(--paper); transition: color 0.2s; }
.lp-closing-contact-row a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE REFINEMENTS (mobile ≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .hero-meta, .lp-hero-meta, .page-header .meta {
    gap: 8px 16px;
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-bottom: 32px;
  }
  .hero-meta, .lp-hero-meta { padding-bottom: 16px; }

  .lp-hero-meta { gap: 8px 16px !important; }

  .page-header h1 { font-size: clamp(40px, 9vw, 56px); line-height: 1; }

  .hero { padding-top: clamp(96px, 14vw, 140px); padding-bottom: clamp(48px, 8vw, 80px); }
}

/* ============================================================
   BLOG INDEX — IMAGELESS LAYOUT
   Cards are text-only now; restructure so the featured post isn't
   waiting for an image column and post cards stand on typography.
   ============================================================ */
.blog-featured-grid {
  grid-template-columns: 1fr !important;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}
.blog-featured-content h2 {
  font-size: clamp(36px, 5.5vw, 72px);
}
.post-card {
  padding: 40px 36px;
  min-height: 220px;
}
.post-card h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
}
.post-card p {
  font-size: 15px;
}

/* ============================================================
   BLOG POST — IMAGELESS ARTICLE
   No hero image between article-hero and .prose. Just
   a clean editorial break.
   ============================================================ */
.article-hero {
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* ============================================================
   HERO META BAR — FORCE ONE LINE ON MOBILE
   Hide items 3+ on narrow screens so "● Available Q2 2026" +
   "Syracuse, NY / Remote" fit on a single line.
   ============================================================ */
@media (max-width: 640px) {
  .hero-meta,
  .lp-hero-meta,
  .page-header .meta {
    flex-wrap: nowrap !important;
    gap: 12px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap;
    overflow: hidden;
  }
  .hero-meta > span,
  .lp-hero-meta > span,
  .page-header .meta > span {
    white-space: nowrap;
  }
  /* Hide the extra items to prevent overflow */
  .hero-meta > span:nth-child(n+3),
  .lp-hero-meta > span:nth-child(n+3),
  .page-header .meta > span:nth-child(n+3) {
    display: none;
  }
}
