:root {
  --bg: #f4f2ed;
  --paper: #faf9f6;
  --ink: #11110f;
  --muted: #67655f;
  --line: #d8d5cd;
  --soft: #e9e6de;
  --soft-2: #efede7;
  --max: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --section: clamp(72px, 9vw, 132px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
.wrap { width: min(calc(100% - (var(--gutter) * 2)), var(--max)); margin-inline: auto; }
.section-pad { padding: var(--section) 0; }
.section-rule { border-top: 1px solid var(--line); }
.skip-link { position: fixed; left: 12px; top: 12px; transform: translateY(-200%); z-index: 1000; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,242,237,.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { backdrop-filter: blur(12px); }
}
.nav-wrap { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; font-weight: 700; letter-spacing: -.025em; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: Georgia, serif; font-weight: 700; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a, .footer-links a { text-decoration: none; color: #44423d; font-size: .91rem; }
.nav a:focus-visible, .nav a:hover, .footer-links a:focus-visible, .footer-links a:hover, .text-link:hover { color: var(--ink); }
.nav-cta { justify-self: end; text-decoration: none; border: 1px solid var(--ink); padding: 11px 16px; font-size: .86rem; white-space: nowrap; }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--ink); padding: 8px; cursor: pointer; align-items: center; gap: 10px; }
.nav-toggle-label { font-size: .84rem; }
.nav-toggle-lines { width: 22px; display: grid; gap: 5px; }
.nav-toggle-lines i { display: block; height: 1px; background: currentColor; transition: transform .18s ease; }

.eyebrow { text-transform: uppercase; letter-spacing: .17em; font-size: .69rem; font-weight: 700; margin: 0 0 18px; color: #5e5b55; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.038em; margin-top: 0; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 7vw, 7.3rem); line-height: .94; max-width: 820px; margin-bottom: 30px; }
h2 { font-size: clamp(2.55rem, 4vw, 4.75rem); line-height: 1; margin-bottom: 28px; }
h3 { font-size: clamp(1.65rem, 2.2vw, 2rem); line-height: 1.08; margin: 22px 0 12px; }
p { margin-top: 0; }
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.38; max-width: 650px; margin-bottom: 22px; color: #35332f; }
.body-copy { max-width: 650px; color: var(--muted); font-size: 1.02rem; }

.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); min-height: 650px; align-items: center; gap: clamp(52px, 6vw, 92px); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 13px 20px; text-decoration: none; border: 1px solid var(--ink); font-size: .93rem; border-radius: 0; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-secondary { background: transparent; }
.btn[aria-disabled="true"] { opacity: .58; pointer-events: none; }
.text-link { text-decoration: none; border-bottom: 1px solid #8b8881; padding-bottom: 3px; }

.visual-placeholder { background: var(--soft-2); min-height: 500px; display: grid; place-items: center; overflow: hidden; position: relative; border: 1px solid #e3e0d8; }
.visual-placeholder figcaption { position: absolute; left: 16px; bottom: 12px; margin: 0; color: #87847c; font-size: .69rem; letter-spacing: .06em; text-transform: uppercase; }
.screen-shell { width: 86%; background: #111; padding: 8px; box-shadow: 0 26px 60px rgba(0,0,0,.14); }
.screen-topbar { height: 20px; background: #efefed; display: flex; align-items: center; gap: 5px; padding-left: 8px; }
.screen-topbar span { width: 5px; height: 5px; border-radius: 50%; background: #bcbab4; }
.screen-content { display: grid; grid-template-columns: 23% 1fr; min-height: 370px; background: #fff; }
.screen-sidebar { background: #f2f1ee; border-right: 1px solid #deddd8; }
.screen-main { padding: 30px; display: grid; gap: 17px; align-content: start; }
.screen-main span { display: block; height: 38px; border: 1px solid #deddd8; background: #f8f8f6; }

.split-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(70px, 8vw, 110px); }
.problem-copy { max-width: 700px; font-size: 1.07rem; color: #33312d; }
.problem-copy p { margin-bottom: 24px; }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-head > p { max-width: 400px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.product-card { padding-bottom: 12px; }
.product-card > p { color: var(--muted); max-width: 39ch; }
.product-shot.small { min-height: 285px; }

.cta-grid { display: grid; grid-template-columns: 1fr 1fr; }
.cta-block { padding: 12px 60px 12px 0; }
.cta-block + .cta-block { border-left: 1px solid var(--line); padding-left: 64px; }
.cta-block p { color: var(--muted); max-width: 520px; }
.microcopy { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.philosophy-grid { display: grid; grid-template-columns: .9fr 1fr 1.1fr; gap: clamp(48px, 5vw, 70px); align-items: center; }
.philosophy-grid > div:nth-child(2) p { color: var(--muted); }
.philosophy-image { min-height: 380px; }

.site-footer { padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-links { display: flex; gap: 24px; }
.footer-grid > p { justify-self: end; margin: 0; color: var(--muted); font-size: .84rem; }

.journal-hero { max-width: 930px; padding-bottom: clamp(54px, 7vw, 84px); }
.journal-hero h1 { max-width: 900px; }
.journal-intro { color: var(--muted); max-width: 720px; font-size: 1.1rem; }
.journal-list { max-width: 980px; }
.journal-item { padding: clamp(42px, 6vw, 70px) 0; border-top: 1px solid var(--line); }
.journal-item h2 { font-size: clamp(2rem, 4vw, 3.7rem); margin-bottom: 16px; max-width: 18ch; }
.journal-item h2 a { text-decoration: none; }
.journal-meta { display: flex; gap: 18px; color: var(--muted); font-size: .78rem; margin-bottom: 18px; }
.journal-meta span + span::before { content: '·'; margin-right: 18px; }
.journal-excerpt { max-width: 690px; color: var(--muted); }
.empty-state { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); }

.article-wrap { max-width: 900px; }
.article-header { margin-bottom: 62px; }
.article-header h1 { font-size: clamp(3.4rem, 7vw, 6.7rem); max-width: 12ch; }
.article-content { font-size: 1.08rem; max-width: 760px; }
.article-content p, .article-content ul, .article-content ol, .article-content blockquote { margin-bottom: 1.45em; }
.article-content h2 { margin-top: 2.25em; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.article-content h3 { margin-top: 1.9em; }
.article-content img, .article-content figure { max-width: 100%; height: auto; }
.article-content a { text-underline-offset: 3px; }
.article-cta { margin-top: clamp(70px, 9vw, 120px); padding-top: 48px; border-top: 1px solid var(--line); }
.article-cta h2 { max-width: 12ch; }

.lead-page .site-header { display: none; }
.lead-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(60px, 8vw, 110px); align-items: center; min-height: 70vh; }
.lead-copy h1 { max-width: 10ch; }
.lead-form { margin-top: 36px; max-width: 650px; }
.lead-form label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 10px; }
.lead-form-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.lead-form input { width: 100%; border: 1px solid #aaa79f; background: var(--paper); padding: 13px 14px; min-height: 48px; border-radius: 0; }
.lead-form input:disabled, .lead-form button:disabled { opacity: .62; cursor: not-allowed; }
.lead-visual { min-height: 520px; }
.lead-includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.clean-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.clean-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.clean-list li::before { content: '—'; margin-right: 12px; color: var(--muted); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

@media (max-width: 960px) {
  .nav-wrap { grid-template-columns: 1fr auto; min-height: 70px; }
  .nav-toggle { display: inline-flex; justify-self: end; }
  .nav-cta { display: none; }
  .nav {
    display: none;
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 44px var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .nav a { font-family: Georgia, serif; font-size: clamp(2.1rem, 7vw, 3.4rem); letter-spacing: -.035em; }
  .nav-open .nav { display: flex; }
  .nav-open .nav-toggle-lines i:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-open .nav-toggle-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }

  .hero-grid, .split-grid, .philosophy-grid, .lead-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-grid { min-height: 0; }
  .hero-visual { order: 2; }
  .product-grid { grid-template-columns: 1fr; gap: 54px; }
  .product-card > p { max-width: 65ch; }
  .product-shot.small { min-height: clamp(300px, 62vw, 520px); }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 0 0 54px; }
  .cta-block + .cta-block { border-left: 0; border-top: 1px solid var(--line); padding: 54px 0 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .philosophy-image { min-height: 440px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > p { justify-self: start; }
  .lead-includes-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; --section: 72px; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.55rem); line-height: .96; }
  h2 { font-size: clamp(2.45rem, 12vw, 3.25rem); }
  .hero-sub { font-size: 1.15rem; }
  .body-copy, .problem-copy { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 32px; }
  .visual-placeholder { min-height: 330px; }
  .hero-visual { min-height: 380px; }
  .screen-shell { width: 91%; }
  .screen-content { min-height: 250px; }
  .screen-main { padding: 20px; gap: 12px; }
  .screen-main span { height: 28px; }
  .philosophy-image { min-height: 330px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .lead-form-row { grid-template-columns: 1fr; }
  .lead-visual { min-height: 350px; }
  .article-header { margin-bottom: 46px; }
}
