/*
Theme Name: LaborWissen
Theme URI: https://www.laborwissen.com
Author: LaborWissen
Author URI: https://www.laborwissen.com
Description: Boutique life-sciences consultancy theme.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laborwissen
*/

/* ===== DESIGN TOKENS ===== */
:root {
  --lw-ink: #0f0f14;
  --lw-paper: #f6f5f0;
  --lw-warm: #e8e5dc;
  --lw-cream: #faf9f5;
  --lw-accent: #c5a46c;
  --lw-accent-deep: #a6843e;
  --lw-text: #3a3a42;
  --lw-muted: #7a7a84;
  --lw-teal: #1a6b5a;
  --lw-border: #ddd9d0;
  --lw-red: #b54a3f;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Libre Franklin', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
body {
  font-family: var(--font-body);
  background: var(--lw-paper);
  color: var(--lw-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
img, video, iframe, svg, table { max-width: 100%; height: auto; }
a { word-break: break-word; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }

/* Page content wrapper */
.lw-page-content { padding-top: 72px; }

/* ===== NAV ===== */
.lw-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 48px; height: 72px; display: flex; align-items: center; justify-content: space-between; background: rgba(246,245,240,.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--lw-border); transition: all .3s; }
.lw-nav.scrolled { box-shadow: 0 2px 40px rgba(0,0,0,.06); }
.lw-nav__brand { text-decoration: none; display: flex; align-items: center; }
.lw-logo { height: 42px; width: auto; display: block; }
.lw-nav__links { display: flex; gap: 32px; align-items: center; }
.lw-nav__links a { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--lw-muted); text-decoration: none; transition: color .2s; }
.lw-nav__links a:hover { color: var(--lw-ink); }
.lw-nav__links .menu-item { list-style: none; }
.lw-nav__links .menu-item a { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--lw-muted); text-decoration: none; transition: color .2s; }
.lw-nav__links .menu-item a:hover { color: var(--lw-ink); }
.lw-nav__links .current-menu-item a { color: var(--lw-ink); }
.lw-nav__cta { font-size: 12px !important; font-weight: 600 !important; color: var(--lw-cream) !important; background: var(--lw-ink); padding: 10px 22px; border-radius: 4px; transition: all .2s !important; }
.lw-nav__cta:hover { background: var(--lw-accent-deep) !important; }
.lw-hamburger { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.lw-hamburger span { display: block; width: 100%; height: 2px; background: var(--lw-ink); position: absolute; left: 0; transition: .3s; }
.lw-hamburger span:nth-child(1) { top: 0; }
.lw-hamburger span:nth-child(2) { top: 9px; }
.lw-hamburger span:nth-child(3) { top: 18px; }
.lw-hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.lw-hamburger.active span:nth-child(2) { opacity: 0; }
.lw-hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ===== WP Menu Integration ===== */
.lw-nav__links ul { display: flex; gap: 32px; align-items: center; list-style: none; margin: 0; padding: 0; }

/* ===== HERO ===== */
.lw-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 140px 48px 80px; position: relative; overflow: hidden; }
.lw-hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(ellipse, rgba(197,164,108,.08) 0%, transparent 70%); pointer-events: none; }
.lw-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--lw-border); }
.lw-hero__tag { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--lw-accent-deep); margin-bottom: 28px; opacity: 0; animation: fadeUp .8s .2s ease forwards; }
.lw-hero__heading { font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 72px); font-weight: 400; line-height: 1.08; color: var(--lw-ink); max-width: 900px; letter-spacing: -.02em; opacity: 0; animation: fadeUp .8s .35s ease forwards; }
.lw-hero__heading em { font-style: italic; color: var(--lw-accent-deep); }
.lw-hero__sub { font-size: 17px; line-height: 1.75; color: var(--lw-muted); max-width: 620px; margin-top: 28px; font-weight: 300; opacity: 0; animation: fadeUp .8s .5s ease forwards; }
.lw-hero__actions { display: flex; gap: 16px; margin-top: 40px; opacity: 0; animation: fadeUp .8s .65s ease forwards; }
.lw-btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 32px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-decoration: none; border-radius: 4px; border: none; cursor: pointer; transition: all .25s; }
.lw-btn--primary { background: var(--lw-ink); color: var(--lw-cream); }
.lw-btn--primary:hover { background: var(--lw-accent-deep); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(166,132,62,.2); }
.lw-btn--ghost { background: transparent; color: var(--lw-ink); border: 1.5px solid var(--lw-border); }
.lw-btn--ghost:hover { border-color: var(--lw-ink); background: var(--lw-ink); color: var(--lw-cream); }
.lw-hero__proof { margin-top: 64px; display: flex; gap: 48px; opacity: 0; animation: fadeUp .8s .8s ease forwards; }
.lw-hero__stat { display: flex; flex-direction: column; }
.lw-hero__stat-num { font-family: var(--font-display); font-size: 32px; color: var(--lw-ink); line-height: 1; }
.lw-hero__stat-label { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--lw-muted); margin-top: 6px; }

/* ===== SECTIONS ===== */
.lw-section { padding: 100px 48px; position: relative; }
.lw-section::after { content: ''; position: absolute; bottom: 0; left: 48px; right: 48px; height: 1px; background: var(--lw-border); }
.lw-section--dark { background: var(--lw-ink); color: var(--lw-warm); }
.lw-section--dark::after { display: none; }
.lw-section--cream { background: var(--lw-cream); }
.lw-section__tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--lw-accent-deep); margin-bottom: 16px; }
.lw-section--dark .lw-section__tag { color: var(--lw-accent); }
.lw-section__heading { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; line-height: 1.15; color: var(--lw-ink); max-width: 680px; letter-spacing: -.01em; }
.lw-section--dark .lw-section__heading { color: var(--lw-cream); }
.lw-section__intro { font-size: 16px; line-height: 1.75; color: var(--lw-muted); max-width: 580px; margin-top: 16px; font-weight: 300; }
.lw-section--dark .lw-section__intro { color: #9a9a9e; }
.lw-inner { max-width: 1200px; margin: 0 auto; }

/* ===== MANIFESTO ===== */
.lw-manifesto { padding: 48px; background: var(--lw-ink); display: flex; align-items: center; justify-content: center; }
.lw-manifesto__text { font-family: var(--font-display); font-size: clamp(16px, 2vw, 22px); color: var(--lw-warm); text-align: center; max-width: 820px; line-height: 1.6; }
.lw-manifesto__text em { font-style: italic; color: var(--lw-accent); }

/* ===== WHAT GRID ===== */
.lw-what__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--lw-border); margin-top: 56px; border-radius: 8px; overflow: hidden; }
.lw-what__card { background: #fff; padding: 36px 32px; transition: all .3s; position: relative; }
.lw-what__card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lw-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.lw-what__card:hover::before { transform: scaleX(1); }
.lw-what__card:hover { background: var(--lw-cream); }
.lw-what__icon { font-size: 11px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--lw-accent-deep); margin-bottom: 16px; }
.lw-what__title { font-family: var(--font-display); font-size: 20px; color: var(--lw-ink); margin-bottom: 10px; }
.lw-what__desc { font-size: 13.5px; line-height: 1.7; color: var(--lw-muted); }

/* ===== DOMAINS ===== */
.lw-domains { margin-top: 56px; }
.lw-domain { border: 1px solid var(--lw-border); border-radius: 8px; margin-bottom: 16px; overflow: hidden; background: #fff; transition: border-color .3s; }
.lw-domain:hover { border-color: var(--lw-accent); }
.lw-domain__header { padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.lw-domain__left { display: flex; align-items: center; gap: 20px; }
.lw-domain__num { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--lw-accent-deep); background: rgba(197,164,108,.1); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lw-domain__title { font-family: var(--font-display); font-size: 22px; color: var(--lw-ink); }
.lw-domain__subtitle { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--lw-muted); text-transform: uppercase; margin-top: 2px; }
.lw-domain__toggle { width: 32px; height: 32px; border: 1.5px solid var(--lw-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--lw-muted); transition: all .3s; flex-shrink: 0; }
.lw-domain.active .lw-domain__toggle { transform: rotate(45deg); border-color: var(--lw-accent); color: var(--lw-accent-deep); }
.lw-domain__body { max-height: 0; overflow: hidden; transition: max-height .5s; }
.lw-domain.active .lw-domain__body { max-height: 800px; }
.lw-domain__content { padding: 0 36px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.lw-domain__col-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--lw-accent-deep); margin-bottom: 12px; }
.lw-domain__item { font-size: 14px; line-height: 1.65; color: var(--lw-text); padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.04); display: flex; align-items: flex-start; gap: 10px; }
.lw-domain__item::before { content: '›'; color: var(--lw-accent-deep); font-weight: 700; flex-shrink: 0; }
.lw-domain__outcomes { display: flex; flex-direction: column; gap: 10px; }
.lw-domain__outcome { font-size: 13.5px; line-height: 1.5; color: var(--lw-teal); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.lw-domain__outcome::before { content: '✔'; font-size: 13px; flex-shrink: 0; }
.lw-domain__who { font-size: 12px; font-weight: 500; color: var(--lw-muted); background: var(--lw-cream); padding: 8px 14px; border-radius: 4px; margin-bottom: 16px; display: inline-block; }

/* ===== AUDIENCES ===== */
.lw-audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.lw-audience { padding: 36px 32px; background: #fff; border: 1px solid var(--lw-border); border-radius: 8px; transition: all .3s; position: relative; overflow: hidden; }
.lw-audience::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--lw-accent); transform: scaleX(0); transform-origin: center; transition: transform .4s; }
.lw-audience:hover::after { transform: scaleX(1); }
.lw-audience:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.lw-audience__name { font-family: var(--font-display); font-size: 20px; color: var(--lw-ink); margin-bottom: 12px; }
.lw-audience__desc { font-size: 13.5px; line-height: 1.7; color: var(--lw-muted); }

/* ===== HOW WE WORK ===== */
.lw-process { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.lw-process::before { content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--lw-accent) 0, var(--lw-accent) 8px, transparent 8px, transparent 16px); opacity: .3; }
.lw-process__step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.lw-process__num { width: 80px; height: 80px; border-radius: 50%; background: var(--lw-ink); color: var(--lw-accent); font-family: var(--font-display); font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 2px solid rgba(197,164,108,.2); transition: all .3s; }
.lw-process__step:hover .lw-process__num { border-color: var(--lw-accent); transform: scale(1.08); }
.lw-process__title { font-family: var(--font-display); font-size: 18px; color: var(--lw-ink); margin-bottom: 8px; }
.lw-process__desc { font-size: 13px; line-height: 1.65; color: var(--lw-muted); }

/* ===== BLOG ===== */
.lw-blog { margin-top: 56px; }
.lw-blog__featured { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.lw-blog__card { background: #fff; border: 1px solid var(--lw-border); border-radius: 8px; overflow: hidden; transition: all .3s; cursor: pointer; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.lw-blog__card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.06); border-color: var(--lw-accent); }
.lw-blog__thumb { height: 180px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lw-blog__thumb-pattern { position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.lw-blog__thumb-icon { font-family: var(--font-display); font-size: 48px; color: var(--lw-accent); position: relative; z-index: 1; opacity: .25; }
.lw-blog__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.lw-blog__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.lw-blog__category { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--lw-accent-deep); background: rgba(197,164,108,.1); padding: 3px 10px; border-radius: 3px; }
.lw-blog__date { font-size: 11.5px; color: var(--lw-muted); }
.lw-blog__title { font-family: var(--font-display); font-size: 19px; color: var(--lw-ink); margin-bottom: 10px; line-height: 1.3; }
.lw-blog__excerpt { font-size: 13px; line-height: 1.65; color: var(--lw-muted); flex: 1; }
.lw-blog__read { font-size: 12px; font-weight: 600; color: var(--lw-accent-deep); margin-top: 16px; display: flex; align-items: center; gap: 6px; }
.lw-blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lw-blog__grid .lw-blog__thumb { height: 120px; }
.lw-blog__grid .lw-blog__body { padding: 20px 24px; }
.lw-blog__grid .lw-blog__title { font-size: 16px; }
.lw-blog__grid .lw-blog__excerpt { display: none; }
.lw-blog__all { text-align: center; margin-top: 48px; }

/* ===== ONBOARDING ===== */
.lw-onboard { background: var(--lw-ink); padding: 80px 48px; position: relative; overflow: hidden; }
.lw-onboard::before { content: ''; position: absolute; top: -30%; right: -5%; width: 500px; height: 500px; background: radial-gradient(ellipse, rgba(197,164,108,.06) 0%, transparent 70%); pointer-events: none; }
.lw-onboard__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.lw-onboard__tag { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--lw-accent); margin-bottom: 12px; text-align: center; }
.lw-onboard__title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); color: var(--lw-cream); text-align: center; margin-bottom: 6px; }
.lw-onboard__sub { font-size: 14px; color: #7a7a82; text-align: center; margin-bottom: 40px; font-weight: 300; }
.lw-onboard__progress { display: flex; align-items: center; gap: 6px; margin-bottom: 36px; justify-content: center; }
.lw-onboard__step-dot { width: 32px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); transition: all .4s; }
.lw-onboard__step-dot.active { background: var(--lw-accent); width: 48px; }
.lw-onboard__step-dot.done { background: var(--lw-teal); }
.lw-onboard__card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 40px; min-height: 320px; display: flex; flex-direction: column; transition: all .3s; }
.lw-onboard__q-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--lw-accent); margin-bottom: 8px; }
.lw-onboard__question { font-family: var(--font-display); font-size: 22px; color: var(--lw-cream); margin-bottom: 8px; line-height: 1.3; }
.lw-onboard__hint { font-size: 13px; color: #6a6a72; margin-bottom: 28px; }
.lw-onboard__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.lw-onboard__option { padding: 16px 20px; border: 1.5px solid rgba(255,255,255,.08); border-radius: 8px; cursor: pointer; transition: all .25s; background: transparent; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.lw-onboard__option:hover { border-color: rgba(197,164,108,.4); background: rgba(197,164,108,.04); }
.lw-onboard__option.selected { border-color: var(--lw-accent); background: rgba(197,164,108,.08); box-shadow: 0 0 0 1px var(--lw-accent); }
.lw-onboard__option-label { font-size: 14px; font-weight: 600; color: var(--lw-cream); }
.lw-onboard__option-desc { font-size: 11.5px; color: #7a7a82; line-height: 1.5; }
.lw-onboard__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.lw-onboard__back { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: #6a6a72; background: none; border: none; cursor: pointer; transition: color .2s; padding: 8px 0; }
.lw-onboard__back:hover { color: var(--lw-cream); }
.lw-onboard__back.hidden { visibility: hidden; }
.lw-onboard__next { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--lw-ink); background: var(--lw-accent); border: none; padding: 12px 28px; border-radius: 4px; cursor: pointer; transition: all .25s; }
.lw-onboard__next:hover { background: var(--lw-accent-deep); transform: translateY(-1px); }
.lw-onboard__next:disabled { opacity: .3; cursor: not-allowed; transform: none; }
.lw-onboard__result { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; }
.lw-onboard__result-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(26,107,90,.15); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.lw-onboard__result-title { font-family: var(--font-display); font-size: 26px; color: var(--lw-cream); margin-bottom: 12px; }
.lw-onboard__result-domains { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.lw-onboard__result-domain { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(197,164,108,.3); color: var(--lw-accent); background: rgba(197,164,108,.06); }
.lw-onboard__result-text { font-size: 14px; line-height: 1.7; color: #8a8a92; max-width: 480px; margin-bottom: 28px; }
.lw-onboard__result-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--lw-ink); background: var(--lw-accent); padding: 14px 32px; border-radius: 4px; border: none; cursor: pointer; text-decoration: none; transition: all .25s; }
.lw-onboard__result-cta:hover { background: var(--lw-accent-deep); transform: translateY(-1px); }
.lw-onboard__email-row { display: flex; gap: 10px; width: 100%; max-width: 440px; margin-bottom: 20px; }
.lw-onboard__email-input { flex: 1; padding: 13px 18px; border: 1.5px solid rgba(255,255,255,.1); border-radius: 4px; background: rgba(255,255,255,.04); color: var(--lw-cream); font-family: var(--font-body); font-size: 13px; outline: none; transition: border-color .2s; }
.lw-onboard__email-input::placeholder { color: #5a5a62; }
.lw-onboard__email-input:focus { border-color: var(--lw-accent); }

/* ===== CTA ===== */
.lw-cta-strip { padding: 80px 48px; background: var(--lw-ink); text-align: center; position: relative; overflow: hidden; }
.lw-cta-strip::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(ellipse, rgba(197,164,108,.08) 0%, transparent 70%); }
.lw-cta-strip__heading { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); color: var(--lw-cream); margin-bottom: 16px; position: relative; }
.lw-cta-strip__sub { font-size: 15px; color: #9a9a9e; margin-bottom: 36px; font-weight: 300; position: relative; }

/* ===== FOOTER ===== */
.lw-footer { padding: 60px 48px 40px; background: #0a0a0e; color: #6a6a72; width: 100%; }
.lw-footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.lw-footer__desc { font-size: 13px; line-height: 1.65; color: #5a5a62; max-width: 320px; margin-top: 16px; }
.lw-footer__col-title { font-size: 10.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #8a8a92; margin-bottom: 16px; }
.lw-footer__link { display: block; font-size: 13px; color: #6a6a72; text-decoration: none; padding: 4px 0; transition: color .2s; }
.lw-footer__link:hover { color: var(--lw-accent); }
.lw-footer__bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #1a1a1e; display: flex; justify-content: space-between; font-size: 11.5px; color: #4a4a52; }

/* ===== SINGLE POST ===== */
.lw-single { max-width: 760px; margin: 0 auto; padding: 140px 24px 80px; }
.lw-single__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.lw-single__title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 400; line-height: 1.15; color: var(--lw-ink); margin-bottom: 32px; }
.lw-single__content { font-size: 16px; line-height: 1.85; color: var(--lw-text); }
.lw-single__content h2 { font-family: var(--font-display); font-size: 28px; color: var(--lw-ink); margin: 48px 0 16px; }
.lw-single__content h3 { font-family: var(--font-display); font-size: 22px; color: var(--lw-ink); margin: 36px 0 12px; }
.lw-single__content p { margin-bottom: 24px; }
.lw-single__content ul, .lw-single__content ol { margin: 0 0 24px 24px; }
.lw-single__content li { margin-bottom: 8px; }
.lw-single__content blockquote { border-left: 3px solid var(--lw-accent); padding: 16px 24px; margin: 32px 0; background: var(--lw-cream); font-style: italic; color: var(--lw-muted); }

/* ===== BLOG LISTING ===== */
.lw-blog-page { max-width: 1200px; margin: 0 auto; padding: 140px 48px 80px; }
.lw-blog-page__header { margin-bottom: 56px; }
.lw-blog-page__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lw-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.lw-pagination a, .lw-pagination span { padding: 10px 16px; border: 1px solid var(--lw-border); border-radius: 4px; font-size: 13px; text-decoration: none; color: var(--lw-muted); transition: all .2s; }
.lw-pagination a:hover { border-color: var(--lw-accent); color: var(--lw-ink); }
.lw-pagination .current { background: var(--lw-ink); color: var(--lw-cream); border-color: var(--lw-ink); }

/* ===== 404 ===== */
.lw-404 { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 48px; }
.lw-404__num { font-family: var(--font-display); font-size: 120px; color: var(--lw-accent); opacity: .2; line-height: 1; }
.lw-404__title { font-family: var(--font-display); font-size: 36px; color: var(--lw-ink); margin: 16px 0; }
.lw-404__text { color: var(--lw-muted); margin-bottom: 32px; }

/* ===== CONTACT PAGE ===== */
.lw-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* ===== ELEMENTOR COMPATIBILITY ===== */
.lw-elementor-content { min-height: 60vh; }
.lw-elementor-page .lw-hero,
.lw-elementor-page .lw-section,
.lw-elementor-page .lw-manifesto,
.lw-elementor-page .lw-cta-strip { display: none; }
.elementor-page .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1200px; }
.elementor-page .elementor-section-full_width > .elementor-container { max-width: 100%; }
body.elementor-template-canvas .lw-nav,
body.elementor-template-canvas .lw-footer { display: none !important; }
body.elementor-template-full-width .lw-elementor-content { padding-left: 0; padding-right: 0; }

/* Elementor widgets inherit theme fonts */
.elementor-widget-text-editor { font-family: var(--font-body); color: var(--lw-text); line-height: 1.7; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-display); color: var(--lw-ink); letter-spacing: -.01em; }
.elementor-widget-button .elementor-button { font-family: var(--font-body); font-weight: 600; letter-spacing: .04em; border-radius: 4px; }

/* Theme section classes usable in Elementor */
.e-lw-dark { background: var(--lw-ink); color: var(--lw-warm); }
.e-lw-cream { background: var(--lw-cream); }
.e-lw-paper { background: var(--lw-paper); }
.e-lw-accent-bg { background: var(--lw-accent-deep); color: var(--lw-cream); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.lw-reveal { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(.22, 1, .36, 1); }
.lw-reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */

/* --- Tablet landscape (1024px) --- */
@media (max-width: 1024px) {
  .lw-what__grid { grid-template-columns: repeat(2, 1fr); }
  .lw-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .lw-blog-page__grid { grid-template-columns: repeat(2, 1fr); }
  .lw-process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lw-process::before { display: none; }
  .lw-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lw-hero { padding: 120px 32px 60px; }
  .lw-section { padding: 72px 32px; }
  .lw-section::after { left: 32px; right: 32px; }
}

/* --- Tablet portrait (768px) --- */
@media (max-width: 768px) {
  /* MOBILE SCROLL FIX — belt and suspenders */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }

  /* Navigation */
  .lw-nav { padding: 0 16px; height: 64px; }
  .lw-nav__links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--lw-paper);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--lw-border);
  }
  .lw-nav__links.open { display: flex; }
  .lw-nav__links a,
  .lw-nav__links .menu-item a {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--lw-border);
    display: block;
    width: 100%;
    color: var(--lw-ink);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
  }
  .lw-nav__links ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .lw-nav__links .menu-item { width: 100%; }
  .lw-nav__cta {
    margin-top: 16px;
    text-align: center !important;
    display: block !important;
    border-bottom: none !important;
    font-weight: 600 !important;
  }
  .lw-hamburger { display: block; }
  .lw-logo { height: 34px; }

  /* Hero */
  .lw-hero { padding: 96px 20px 48px; min-height: auto; }
  .lw-hero::before { display: none; }
  .lw-hero__tag { font-size: 9px; letter-spacing: 3px; margin-bottom: 16px; }
  .lw-hero__heading { font-size: 28px; line-height: 1.15; }
  .lw-hero__sub { font-size: 14px; line-height: 1.65; margin-top: 16px; }
  .lw-hero__proof { flex-direction: column; gap: 16px; margin-top: 32px; }
  .lw-hero__stat-num { font-size: 22px; }
  .lw-hero__stat-label { font-size: 10px; }
  .lw-hero__actions { flex-direction: column; gap: 12px; margin-top: 24px; }
  .lw-hero__actions .lw-btn { width: 100%; justify-content: center; }

  /* Sections */
  .lw-section { padding: 48px 20px; }
  .lw-section::after { left: 20px; right: 20px; }
  .lw-section__tag { font-size: 9px; }
  .lw-section__heading { font-size: 24px; }
  .lw-section__intro { font-size: 14px; margin-top: 12px; }

  /* All grids → single column */
  .lw-what__grid,
  .lw-audiences,
  .lw-blog__featured,
  .lw-blog__grid,
  .lw-process,
  .lw-blog-page__grid,
  .lw-contact-grid { grid-template-columns: 1fr !important; }

  /* Cards */
  .lw-what__card { padding: 24px 20px; }
  .lw-what__title { font-size: 18px; }
  .lw-what__desc { font-size: 13px; }
  .lw-audience { padding: 24px 20px; }
  .lw-audience__name { font-size: 18px; }
  .lw-audience__desc { font-size: 13px; }

  /* Domains accordion */
  .lw-domains { margin-top: 32px; }
  .lw-domain__header { padding: 20px 16px; }
  .lw-domain__num { width: 32px; height: 32px; font-size: 10px; }
  .lw-domain__left { gap: 12px; }
  .lw-domain__title { font-size: 17px; }
  .lw-domain__subtitle { font-size: 11px; }
  .lw-domain__toggle { width: 28px; height: 28px; font-size: 16px; }
  .lw-domain__content { grid-template-columns: 1fr; gap: 20px; padding: 0 16px 20px; }
  .lw-domain__item { font-size: 13px; padding: 6px 0; }
  .lw-domain__col-label { font-size: 9px; }
  .lw-domain.active .lw-domain__body { max-height: 1200px; }

  /* Process */
  .lw-process__step { text-align: left; padding: 0; display: flex; gap: 16px; align-items: flex-start; }
  .lw-process__num { width: 48px; height: 48px; font-size: 20px; margin: 0; flex-shrink: 0; }
  .lw-process__title { font-size: 17px; }
  .lw-process__desc { font-size: 13px; }

  /* Blog */
  .lw-blog { margin-top: 32px; }
  .lw-blog__thumb { height: 140px; }
  .lw-blog__body { padding: 20px 16px; }
  .lw-blog__title { font-size: 17px; }
  .lw-blog__excerpt { font-size: 13px; }
  .lw-blog__grid .lw-blog__body { padding: 16px; }
  .lw-blog__grid .lw-blog__title { font-size: 15px; }

  /* Manifesto */
  .lw-manifesto { padding: 40px 20px; }
  .lw-manifesto__text { font-size: 18px; }

  /* CTA */
  .lw-cta-strip { padding: 48px 20px; }
  .lw-cta-strip::before { display: none; }
  .lw-cta-strip__heading { font-size: 24px; }
  .lw-cta-strip__sub { font-size: 14px; }
  .lw-cta-strip .lw-btn { width: 100%; justify-content: center; }

  /* Onboarding */
  .lw-onboard { padding: 48px 20px; }
  .lw-onboard::before { display: none; }
  .lw-onboard__title { font-size: 22px; }
  .lw-onboard__sub { font-size: 13px; }
  .lw-onboard__card { padding: 24px 16px; min-height: 200px; }
  .lw-onboard__question { font-size: 18px; }
  .lw-onboard__options { grid-template-columns: 1fr; }
  .lw-onboard__option { padding: 14px 16px; }
  .lw-onboard__email-row { flex-direction: column; }

  /* Footer */
  .lw-footer { padding: 40px 20px 24px; }
  .lw-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .lw-footer__desc { max-width: 100%; }
  .lw-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Single post */
  .lw-single { padding: 96px 20px 48px; }
  .lw-single__title { font-size: 26px; }
  .lw-single__content { font-size: 15px; }
  .lw-single__content h2 { font-size: 22px; margin: 32px 0 12px; }
  .lw-single__content h3 { font-size: 19px; margin: 28px 0 10px; }

  /* Blog listing */
  .lw-blog-page { padding: 96px 20px 48px; }

  /* Page content */
  .lw-page-content { padding-top: 64px; }

  /* 404 */
  .lw-404 { padding: 96px 20px; }
  .lw-404__num { font-size: 80px; }
  .lw-404__title { font-size: 28px; }

  /* Buttons */
  .lw-btn { font-size: 13px; padding: 14px 24px; }

  /* Elementor columns stack */
  .elementor-section .elementor-container .elementor-row > .elementor-column,
  .elementor-section .elementor-container .elementor-column,
  .elementor-inner-section .elementor-container .elementor-column {
    width: 100% !important;
  }
  .elementor-section .elementor-container {
    flex-wrap: wrap !important;
  }
  .elementor-widget-heading .elementor-heading-title {
    font-size: 24px !important;
    word-break: break-word;
  }
}

/* --- Small mobile (480px) --- */
@media (max-width: 480px) {
  .lw-hero { padding: 88px 16px 36px; }
  .lw-hero__heading { font-size: 24px; }
  .lw-hero__sub { font-size: 13px; }
  .lw-section { padding: 36px 16px; }
  .lw-section__heading { font-size: 22px; }
  .lw-what__card, .lw-audience { padding: 20px 16px; }
  .lw-domain__header { padding: 16px 12px; }
  .lw-domain__content { padding: 0 12px 16px; }
  .lw-domain__title { font-size: 15px; }
  .lw-manifesto { padding: 32px 16px; }
  .lw-manifesto__text { font-size: 16px; }
  .lw-cta-strip { padding: 36px 16px; }
  .lw-cta-strip__heading { font-size: 22px; }
  .lw-onboard { padding: 36px 16px; }
  .lw-onboard__card { padding: 20px 12px; }
  .lw-footer { padding: 32px 16px 20px; }
  .lw-single { padding: 88px 16px 36px; }
  .lw-blog-page { padding: 88px 16px 36px; }
}

/* --- Touch device optimisations --- */
@media (hover: none) and (pointer: coarse) {
  * { -webkit-tap-highlight-color: transparent; }
  .lw-audience:hover { transform: none; box-shadow: none; }
  .lw-blog__card:hover { transform: none; box-shadow: none; }
  .lw-what__card::before { display: none; }
}
