/* ═══════════════════════════════════════════════════════════════════════
   Luria Advisory — shares the "Review" system with robertluria.com
   Sidebar organisation · Bricolage Grotesque + IBM Plex Sans · ink + proofreader red.
═══════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #F8F9FA; --bg-warm: #EEF0F3; --white: #FFFFFF;
  --ink: #0D1424; --ink-mid: #3A4350; --ink-light: #596370;
  --rule: #DDE1E6; --rule-dark: #B4BCC6;
  --red: #D6281C; --red-light: #FDEDEB; --hl: #FFE45C;
  --teal: var(--red);          /* legacy alias used by two inline styles */
  --serif: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --side: 264px; --max: 980px; --pad: clamp(20px, 4vw, 52px); --nav-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); overflow-x: clip; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink-mid); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; font-kerning: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { max-width: 68ch; text-wrap: pretty; }
::selection { background: var(--hl); color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(44px, 5.5vw, 80px) 0; }

h1, h2 { font-family: var(--serif); color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.875rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.3rem); font-weight: 720; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 18px; }
em { font-style: normal; }
h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
strong { color: var(--ink); font-weight: 600; }
.label { display: block; font-family: var(--serif); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin-bottom: 14px; }
.label::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--red); margin-right: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: 0 1.5rem; font-family: var(--body); font-size: .9688rem; font-weight: 600; border: 2px solid transparent; border-radius: 6px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--red); border-color: var(--red); }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }

/* ── Navigation: sidebar on desktop, top bar below 961px ─────────────── */
nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); background: var(--bg); border-bottom: 1px solid var(--rule); }
.nav-logo { display: inline-block; font-family: var(--serif); font-weight: 750; font-size: 1.125rem; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.nav-logo::before { content: ""; display: inline-block; width: .55em; height: .55em; background: var(--red); margin-right: .5em; vertical-align: .05em; }
.nav-logo small { display: block; margin: 2px 0 0 1.05em; font-family: var(--body); font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--ink-light); }
.nav-links { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 500; color: var(--ink-mid); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links .nav-cta { background: var(--ink); color: #fff; padding: 0 18px; border-radius: 6px; font-weight: 600; }
.nav-links .nav-cta:hover { background: var(--red); color: #fff; }
.sb-foot { display: none; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; margin-left: auto; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .24s var(--ease), opacity .18s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu { display: none; flex-direction: column; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: var(--bg); padding: 1.5rem var(--pad); border-top: 1px solid var(--rule); overflow-y: auto; }
.nav-mobile-menu a { font-family: var(--serif); font-weight: 720; letter-spacing: -.03em; font-size: clamp(1.9rem, 8vw, 2.6rem); color: var(--ink); padding: .5rem 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-hamburger { display: flex; } .nav-logo small { display: none; } }
@media (min-width: 961px) {
  body { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: 100vh; }
  :root { --nav-h: 0px; }
  nav { grid-column: 1; grid-row: 1 / span 2; height: 100vh; flex-direction: column; align-items: flex-start; gap: 0; padding: 32px 24px 28px; border-bottom: 0; border-right: 1px solid var(--rule); overflow-y: auto; }
  main { grid-column: 2; grid-row: 1; min-width: 0; }
  footer { grid-column: 2; grid-row: 2; }
  .nav-links { flex-direction: column; align-items: stretch; margin: 36px 0 0; gap: 2px; width: 100%; }
  .nav-links a { padding: 10px 12px; border-radius: 6px; font-size: .9688rem; }
  .nav-links a:hover { background: var(--bg-warm); }
  .nav-links a[aria-current="true"] { background: var(--red-light); color: var(--red); font-weight: 600; }
  .nav-links .nav-talk { display: none; }
  .nav-hamburger { display: none; }
  .sb-foot { display: block; margin-top: auto; width: 100%; padding-top: 28px; }
  .sb-foot .btn { width: 100%; margin: 14px 0 18px; }
  .sb-avail { font-size: .875rem; line-height: 1.4; color: var(--ink-mid); display: flex; gap: 10px; align-items: flex-start; }
  .sb-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: .45em; }
  .sb-links { display: flex; flex-direction: column; gap: 2px; }
  .sb-links a { font-size: .9063rem; color: var(--ink-mid); padding: 8px 0; display: inline-flex; min-height: 40px; align-items: center; }
  .sb-links a:hover { color: var(--red); text-decoration: underline; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); }
.hero-eyebrow { display: block; font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 22px; }
.hero-eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--red); margin-right: 10px; }
.hero h1 { max-width: 15ch; margin-bottom: 24px; }
/* the signature: "guess." is struck out, once, on load */
.hero h1 em { background-image: linear-gradient(var(--red), var(--red)); background-repeat: no-repeat; background-position: 0 58%; background-size: 100% .075em; animation: strike .9s var(--ease) .5s both; }
@keyframes strike { from { background-size: 0% .075em; } to { background-size: 100% .075em; } }
.hero-sub { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-mid); max-width: 54ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Stats ───────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); border-top: 3px solid var(--ink); padding: 22px 0 8px; }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.875rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; color: var(--ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .9375rem; line-height: 1.4; color: var(--ink-mid); max-width: 22ch; }

/* ── The difference ──────────────────────────────────────────────────── */
.diff-2col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pos-statement { font-size: 1.1875rem; line-height: 1.5; color: var(--ink); margin: 6px 0 28px; max-width: 46ch; }
.outcome-list { border-top: 1px solid var(--rule-dark); }
.outcome-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.outcome-arrow { color: var(--red); font-weight: 700; }
.outcome-text { font-size: 1rem; line-height: 1.55; }
.cred-stack { border-top: 3px solid var(--ink); }
.cred-card { padding: 18px 0 20px; border-bottom: 1px solid var(--rule-dark); }
.cred-label { display: block; font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.cred-value { font-size: .9688rem; line-height: 1.55; color: var(--ink-mid); }

/* ── Engagements ─────────────────────────────────────────────────────── */
#services > .container > p { margin-bottom: 36px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.service-card { position: relative; display: flex; flex-direction: column; padding-top: 22px; border-top: 3px solid var(--ink); transition: border-color .2s; }
.service-card:hover { border-top-color: var(--red); }
.service-num { font-family: var(--serif); font-weight: 750; font-size: 1.125rem; color: var(--red); margin-bottom: 14px; }
.service-badge { align-self: flex-start; background: var(--hl); color: var(--ink); font-weight: 700; font-size: .875rem; padding: 3px 10px; border-radius: 3px; margin-bottom: 14px; }
.service-name { font-family: var(--serif); font-size: 1.625rem; font-weight: 740; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); margin-bottom: 8px; }
.service-timeline-text { font-size: .9375rem; font-weight: 600; color: var(--ink-light); margin-bottom: 16px; }
.service-desc { font-size: 1rem; line-height: 1.6; margin-bottom: 18px; }
.service-includes { margin-bottom: 22px; border-top: 1px solid var(--rule-dark); }
.service-includes li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--rule); font-size: .9688rem; line-height: 1.4; color: var(--ink); }
.service-includes li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--red); }
.service-cta { margin-top: auto; font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .22em; min-height: 44px; display: inline-flex; align-items: center; }
.service-cta:hover { color: var(--red); }

/* ── Engagement structure ────────────────────────────────────────────── */
.engagement-bg { background: var(--bg-warm); }
.engagement-bg .container > p { margin-bottom: 40px !important; }
.engagement-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.phase-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 12px; padding: 22px 0; border-top: 1px solid var(--rule-dark); }
.phase-item:first-child { border-top: 3px solid var(--ink); }
.phase-num { font-family: var(--serif); font-size: 1.75rem; font-weight: 750; letter-spacing: -.04em; color: var(--red); line-height: 1; }
.phase-title { font-family: var(--serif); font-size: 1.3125rem; font-weight: 720; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; line-height: 1.15; }
.phase-desc { font-size: 1rem; line-height: 1.6; margin-bottom: 12px; }
.phase-output { display: inline-block; font-size: .875rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--rule-dark); border-radius: 3px; padding: 3px 10px; }
.expectation-stack { display: grid; gap: 16px; }
.expectation-block { background: #fff; border-radius: 6px; padding: clamp(20px, 2.4vw, 30px); border-top: 3px solid var(--ink); }
.exp-label { display: block; font-family: var(--serif); font-weight: 720; font-size: 1.125rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.exp-content { font-size: .9688rem; line-height: 1.6; max-width: none; }

/* ── Who I work with ─────────────────────────────────────────────────── */
#clients .container > p { margin-bottom: 32px; }
.clients-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.client-card { padding: 22px 0; border-top: 1px solid var(--rule-dark); }
.client-card:nth-child(-n+2) { border-top: 3px solid var(--ink); }
.client-type { font-family: var(--serif); font-size: 1.3125rem; font-weight: 720; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.client-desc { font-size: 1rem; line-height: 1.6; }

/* ── Proof ───────────────────────────────────────────────────────────── */
.brands-row { display: flex; flex-wrap: wrap; gap: 24px clamp(28px, 4vw, 52px); align-items: center; margin: 4px 0 clamp(36px, 5vw, 64px); }
.brands-row img { height: 28px; width: auto; max-width: 124px; filter: grayscale(1); opacity: .78; }
.proof-quote { padding-top: 28px; border-top: 3px solid var(--ink); }
.proof-quote-text { font-family: var(--serif); font-size: clamp(1.625rem, 3.2vw, 2.625rem); font-weight: 740; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); max-width: 20ch; text-wrap: balance; }
.proof-quote-attr { margin-top: 16px; font-size: .9688rem; color: var(--ink-light); }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-intro { font-family: var(--serif); font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 740; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); margin-bottom: 12px; }
.form-sub { font-size: 1rem; margin-bottom: 28px; max-width: 52ch; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--rule-dark); border-radius: 6px; transition: border-color .15s; }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--ink); outline: 3px solid var(--red-light); }
.form-success { display: none; background: var(--red-light); color: var(--ink); border-left: 4px solid var(--red); border-radius: 0 6px 6px 0; padding: 20px 24px; font-size: 1.0625rem; }
.avail-block { background: var(--hl); border-radius: 6px; padding: 20px 22px; margin-bottom: 28px; }
.avail-status { font-family: var(--serif); font-weight: 740; font-size: 1.1875rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.avail-detail { font-size: .9688rem; color: var(--ink); line-height: 1.5; }
.sidebar-block { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--rule-dark); }
.sidebar-block:last-child { border-bottom: 0; }
.sidebar-block h4 { font-family: var(--serif); font-size: 1.0625rem; letter-spacing: -.01em; }
.sidebar-link { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; font-size: 1rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
.sidebar-link:hover { color: var(--red); }
.link-label { font-size: .875rem; color: var(--ink-light); }
.stack { display: flex; flex-direction: column; gap: 6px; }
.stack span { font-size: .9688rem; color: var(--ink-mid); }
.stack--first span:first-child { color: var(--ink); font-weight: 600; }
.stack--muted span { color: var(--ink-light); }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; padding: 32px var(--pad); background: var(--ink); color: rgba(255,255,255,.72); font-size: .9375rem; }
footer a { color: #fff; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
footer a:hover { color: var(--hl); }

@media (max-width: 960px) { .diff-2col, .engagement-layout, .contact-layout { grid-template-columns: 1fr; } .services-grid { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 640px) { .clients-grid { grid-template-columns: 1fr; } .client-card:nth-child(2) { border-top: 1px solid var(--rule-dark); } .form-row { grid-template-columns: 1fr; } .phase-item { grid-template-columns: 44px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }

/* ── Phone: availability stays visible (the sidebar that carries it on desktop is hidden) ── */
.mq-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-top: .5em; }
.hero-avail { display: none; }
@media (max-width: 960px) { .hero-avail { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 1rem; font-weight: 600; color: var(--ink); max-width: none; } }
.mq-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 6px; font-weight: 600; font-size: .9688rem; color: var(--ink); background: transparent; }
.mq-btn:hover { background: var(--ink); color: #fff; }
.nav-mobile-menu .mm-extra { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule-dark); display: flex; flex-direction: column; gap: 12px; }
html body .nav-mobile-menu .mm-extra .mm-avail { display: flex; gap: 10px; align-items: flex-start; font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
html body .nav-mobile-menu .mm-extra a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--ink); border-radius: 6px; font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 0 18px; line-height: 1.2; }
