/* Intentio · ink and vermilion. Layout: hairline-ruled editorial bands on paper, ink sections for emphasis, 1200px column, square corners. */
:root {
  --ink: #111418;
  --ink-2: #1B1F24;
  --ink-line: #2A2E34;
  --paper: #F7F5F2;
  --white: #FFFFFF;
  --vermilion: #E0482B;
  --vermilion-deep: #C23A20;
  --vermilion-light: #EE6A4F;
  --steel: #2F4A63;
  --graphite: #5E5C58;
  --line: #D9D6D0;
  --on-ink-muted: #B5B2AC;

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, svg { max-width: 100%; }
a { color: var(--vermilion-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--vermilion-deep); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; }
p { margin: 0; }
.stop { color: var(--vermilion); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 16px; }

/* Label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--vermilion-deep);
}
.sq { display: inline-block; width: 8px; height: 8px; background: var(--vermilion); flex-shrink: 0; }
.on-dark .eyebrow { color: var(--vermilion-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 1.6rem; border-radius: 0;
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 500; text-decoration: none;
  border: 1.5px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2A2E34; color: var(--paper); }
.btn-accent { background: var(--vermilion-deep); color: var(--white); }
.btn-accent:hover { background: #A52F18; color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--paper); border-bottom: 1px solid var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-word { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 1rem; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--vermilion-deep); }
.nav .btn { min-height: 44px; padding: 0 1.2rem; font-size: 1rem; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--ink); color: var(--ink); font-weight: 500;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  background: var(--white); border: 1px solid var(--ink);
  padding: 8px; display: flex; flex-direction: column; box-shadow: 0 12px 32px rgba(17, 20, 24, 0.12);
}
.menu-panel a { padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--paper); }
@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero { padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 1.6rem; }
.hero h1 { font-size: clamp(3.2rem, 6.8vw, 6rem); line-height: 0.98; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--graphite); max-width: 36rem; }
.hero-panel {
  flex: 1 1 340px; min-width: 0; background: var(--ink); color: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.5rem;
}
.pillar-mini { display: flex; flex-direction: column; gap: 4px; padding-bottom: 1.4rem; border-bottom: 1px solid var(--ink-line); }
.pillar-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar-mini h2 { font-size: 1.9rem; line-height: 1.1; color: var(--paper); }
.pillar-mini p { color: var(--on-ink-muted); font-size: 1rem; line-height: 1.55; }

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.02; }
.section-head p { color: var(--graphite); font-size: 1.125rem; }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .section-head p { color: var(--on-ink-muted); }

/* Services: hairline columns */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.service { padding: 2rem 2rem 2.25rem; display: flex; flex-direction: column; gap: 0.9rem; }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service { border-left: 1px solid var(--line); }
.service h3 { font-size: 2.1rem; line-height: 1.05; }
.service p { color: var(--graphite); }
.ticks { list-style: none; margin: 0.4rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.6rem; }
.ticks li { display: flex; gap: 12px; align-items: baseline; line-height: 1.45; }
.ticks li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; background: var(--vermilion); transform: translateY(-2px); }
@media (max-width: 960px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .service, .service:first-child, .service:last-child { padding-left: 0; padding-right: 0; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); }
}

/* Outcomes */
.outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.outcome { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.5rem; }
.outcome:not(:nth-child(4n+1)) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.outcome h3 { font-size: 1.6rem; line-height: 1.1; }
.outcome p { color: var(--graphite); font-size: 1rem; line-height: 1.55; }
@media (max-width: 960px) {
  .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .outcome:nth-child(2n) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .outcomes { grid-template-columns: minmax(0, 1fr); }
  .outcome:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* Engagement */
.engage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.model {
  background: var(--ink-2); border: 1px solid var(--ink-line); padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.model h3 { font-size: 2.4rem; line-height: 1.05; }
.model p { color: var(--on-ink-muted); }
.model .ticks { border-top-color: var(--ink-line); }
.model .ticks li { color: var(--paper); }
.formats { display: flex; flex-direction: column; gap: 20px; }
.format { border: 1px solid var(--ink-line); padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.format h3 { font-size: 1.8rem; line-height: 1.1; }
.format p { color: var(--on-ink-muted); }
.capacity { display: flex; gap: 12px; align-items: baseline; color: var(--paper); font-weight: 500; padding-top: 0.25rem; }
.capacity .sq { transform: translateY(-1px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--ink-line); list-style: none; padding-left: 0; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 0.5rem; counter-increment: step; }
.steps li::before { content: "0" counter(step); font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--vermilion-light); }
.steps h3 { font-size: 1.8rem; }
.steps p { color: var(--on-ink-muted); }
@media (max-width: 860px) { .engage, .steps { grid-template-columns: minmax(0, 1fr); } }

/* About */
.about { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4.5rem); align-items: flex-start; }
.about-card {
  flex: 1 1 300px; min-width: 0; max-width: 400px; background: var(--white); border: 1px solid var(--line);
  padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem;
}
.portrait {
  aspect-ratio: 4 / 5; max-width: 100%; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.about-card .name { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--ink); }
.about-card .eyebrow { color: var(--steel); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.facts span:first-child { color: var(--graphite); }
.facts span:last-child { font-weight: 500; text-align: right; }
.about-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; max-width: 42rem; }
.about-copy h2 { font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.02; }
.about-copy p { font-size: 1.0625rem; }
.pull { font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1.2; color: var(--ink); padding-top: 0.5rem; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem); align-items: flex-start; justify-content: space-between; }
.contact-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.contact .contact-copy { flex: 1 1 340px; }
.contact-copy h2 { font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.02; }
.contact-copy p { color: var(--on-ink-muted); font-size: 1.125rem; max-width: 34rem; }
.contact-copy .linkedin { color: var(--paper); font-weight: 500; }
.contact-copy .linkedin:hover { color: var(--vermilion-light); }

/* Contact form */
.form-card { flex: 1.5 1 460px; min-width: 0; background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 3vw, 2.25rem); }
.form { display: flex; flex-direction: column; gap: 1.1rem; position: relative; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--graphite); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #B9B5AE; border-radius: 0;
  padding: 0.7rem 0.9rem; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-note { font-size: 0.875rem; color: var(--graphite); max-width: 22rem; }
.form-status { font-size: 1rem; font-weight: 600; margin: 0; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ink); }
.form-status.err { color: var(--vermilion-deep); }
.turnstile-slot { min-height: 65px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 2rem; font-size: 0.9rem; border-top: 1px solid var(--ink-line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.site-footer .brand-word { color: var(--paper); font-size: 2rem; }
.site-footer a { color: var(--on-ink-muted); }
.site-footer a:hover { color: var(--paper); }

/* 404 and thank-you pages */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .inner { display: flex; flex-direction: column; gap: 1.25rem; max-width: 38rem; }
.notfound h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; }
