/*
Theme Name: Ernie Torralba
Theme URI: https://ernietorralba.com
Author: Ernie Torralba
Description: Personal site for Ernie Torralba, Product & Growth Leader. Homepage, Working Together, case-study journeys and the Moving Atoms and Bits newsletter. Edit copy, photo, stats, logos, links and accent color under Appearance > Customize.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ernie-torralba
*/

/* ---------- Tokens ---------- */
:root {
  --ink: #121417;
  --paper: #F4F5F2;
  --paper-2: #ECEDE9;
  --paper-3: #E2E4DF;
  --white: #FFFFFF;
  --line: #D9DBD6;
  --line-strong: #B9BCB6;
  --text-2: #3A3F46;
  --text-3: #555B63;
  --label: #A8391A;
  --accent: #E8643C;
  --on-dark: #F4F5F2;
  --on-dark-2: #C3C7CC;
  --on-dark-3: #A9AEB5;
  --dark-line: #343A42;
  --dark-line-2: #4A5058;
  --dark-field: #1C2026;
  --accent-on-dark: #FF8A63;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--label); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto;
  background: var(--ink); color: var(--on-dark); padding: 12px 16px; border-radius: 6px;
}
.site { position: relative; overflow-x: hidden; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--line { border-top: 1px solid var(--line); }
.section--alt { background: var(--paper-2); border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark a { color: var(--on-dark); }

/* ---------- Type ---------- */
.label {
  margin: 0 0 28px; font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--label);
}
.section--dark .label, .label--dark { color: var(--accent-on-dark); }
.mono { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.section--dark .mono { color: var(--on-dark-3); }
.display {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.035em;
}
.h2 {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.03em;
}
.h2--xl { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; }
.h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.lede { margin: 24px 0 0; max-width: 680px; font-size: 21px; line-height: 1.5; color: var(--text-2); }
.section--dark .lede, .on-dark-2 { color: var(--on-dark-2); }
.muted { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 14px 24px; border-radius: 6px; font-family: var(--body); font-weight: 600;
  font-size: 17px; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { color: var(--ink); filter: brightness(1.05); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { color: var(--on-dark); background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost-dark { border-color: var(--dark-line-2); color: var(--on-dark); background: transparent; font-size: 15px; min-height: 44px; padding: 0 16px; }
.btn-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink);
  font-family: var(--body); font-size: 15px; text-decoration: none;
}
.pill.is-active, .pill[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); font-weight: 600; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 5; background: var(--paper); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
}
.monogram {
  position: relative; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 7px;
  background: var(--ink); color: var(--on-dark); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: 0.02em;
}
.monogram::after {
  content: ''; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px;
  border-radius: 999px; background: var(--accent);
}
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.menu a { text-decoration: none; }
.menu .current-menu-item > a, .menu .current_page_parent > a, .menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.menu .menu-cta a, .menu .menu-item:last-child.menu-cta a {
  background: var(--ink); color: var(--on-dark); padding: 11px 18px; border-radius: 6px; font-weight: 600; text-decoration: none;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--text-3); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- Bits divider ---------- */
.bits { display: flex; justify-content: space-between; align-items: center; gap: 0; }
.bits span { flex: 0 0 auto; display: block; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; position: relative; }
.hero__row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.hero__copy { flex: 999 1 560px; min-width: 0; }
.hero__sub { margin: 36px 0 0; max-width: 640px; font-size: 22px; line-height: 1.5; color: var(--text-2); }
.hero__figure { flex: 1 1 300px; max-width: 400px; margin: 0; position: relative; }
.hero__img {
  position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 10px; border-bottom: 6px solid var(--accent); background: var(--paper-3);
}
.hero__figure figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.hero__atom { position: absolute; right: -14px; bottom: 96px; width: 28px; height: 28px; border-radius: 999px; background: var(--accent); z-index: 3; }
.art-bits { position: absolute; top: -40px; left: -88px; width: 132px; height: 150px; z-index: 0; pointer-events: none; }
.art-bits span { position: absolute; width: 4px; height: 4px; background: rgba(18, 20, 23, 0.22); }
.art-atoms { position: absolute; right: -44px; bottom: 40px; width: 90px; height: 170px; z-index: 0; pointer-events: none; }
.art-atoms span { position: absolute; border-radius: 999px; background: rgba(18, 20, 23, 0.28); }
.journey-line { position: absolute; z-index: 3; pointer-events: none; left: max(12px, calc(50% - 650px)); top: 150px; bottom: 560px; width: 14px; }
.journey-line i { position: absolute; display: block; }
.journey-line .jl-bits { left: 5px; top: 0; height: 46%; width: 3px; background-image: repeating-linear-gradient(to bottom, #9DA2A9 0 3px, transparent 3px 15px); }
.journey-line .jl-solid { left: 5px; top: 46%; bottom: 7px; width: 2px; background: #9DA2A9; }
.journey-line .jl-end { left: 0; bottom: 0; width: 14px; height: 14px; border-radius: 999px; background: var(--accent); }
.layers-bar { margin-top: 96px; }
.layers-bar__row { display: flex; flex-wrap: wrap; gap: 4px; }
.layers-bar__item { flex: 1 1 150px; border-top: 4px solid var(--accent); padding-top: 12px; }
.layers-bar__item span { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.layers-bar__item div { font-weight: 600; font-size: 17px; }

/* ---------- Logo strip ---------- */
.logo-strip { background: var(--paper-2); border-top: 1px solid var(--line); }
.logo-strip .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.logo-strip__label { flex: 0 0 auto; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.logo-strip ul { flex: 999 1 600px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 36px; color: #5C616A; }
.logo-strip li { display: inline-flex; align-items: center; gap: 9px; }
.logo-strip img { max-height: 36px; width: auto; filter: grayscale(1); opacity: 0.75; }

/* ---------- Statement ---------- */
.statement .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.statement .label { flex: 1 1 220px; margin: 6px 0 0; }
.statement p.big { flex: 999 1 560px; min-width: 0; margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -0.02em; }

/* ---------- Gap diagram ---------- */
.flow { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.flow__box { flex: 1 1 200px; border: 1.5px solid var(--dark-line-2); border-radius: 8px; padding: 22px; }
.flow__box--gap { flex: 1.4 1 240px; border: 2px dashed var(--accent); display: flex; flex-direction: column; justify-content: center; }
.flow__box--market { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.flow__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-3); }
.flow__box--gap .flow__k { color: var(--accent-on-dark); }
.flow__box--market .flow__k { color: var(--text-3); }
.flow__v { margin-top: 8px; font-size: 20px; font-weight: 600; }
.flow__s { margin-top: 4px; font-size: 15px; color: var(--on-dark-3); }
.trio { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.trio > div { flex: 1 1 320px; }
.trio p { margin: 0; font-size: 20px; }
.trio .mono { margin: 0 0 10px; }

/* ---------- Old / new ---------- */
.compare { display: flex; flex-wrap: wrap; gap: 24px; }
.compare__col { flex: 1 1 420px; border-radius: 10px; padding: 40px; }
.compare__col--old { border: 1px solid var(--line); background: var(--paper-2); color: var(--text-2); }
.compare__col--old h3 { color: var(--text-3); }
.compare__col--new { background: var(--ink); color: var(--on-dark); }
.compare h3 { margin: 0 0 24px; font-family: var(--display); font-size: 28px; line-height: 1.2; }
.compare ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.compare li { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.compare__col--new li { border-color: var(--dark-line); }
.compare li:last-child { border-bottom: 0; padding-bottom: 0; }
.pullquote { margin: 96px 0 0; max-width: 960px; }
.pullquote blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -0.02em; }
.pullquote figcaption { margin-top: 24px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 14px; color: var(--text-3); }
.avatar-round { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; }

/* ---------- Hero / guide ---------- */
.guide { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.guide > div { flex: 1 1 240px; border-radius: 8px; padding: 26px; }
.guide__k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.guide__v { margin-top: 8px; font-size: 20px; font-weight: 600; }
.guide .g1 { border: 1.5px solid var(--ink); }
.guide .g2 { background: var(--accent); }
.guide .g2 .guide__k { color: var(--ink); }
.guide .g3 { background: var(--ink); color: var(--on-dark); }
.guide .g3 .guide__k { color: var(--on-dark-3); }

/* ---------- Cards ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 320px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.card__kind { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.card__kind--rust { color: var(--label); }
.beats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.beats li { display: flex; gap: 12px; }
.beats b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--label); min-width: 64px; padding-top: 3px; }
.card__more { margin-top: auto; font-weight: 600; font-size: 16px; }
.stats { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 16px; }
.stat { flex: 1 1 240px; border-top: 1.5px solid var(--ink); padding-top: 18px; }
.stat strong { display: block; font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.stat span { color: var(--text-2); }
.section--dark .stat { border-color: var(--dark-line-2); }
.section--dark .stat span { color: var(--on-dark-2); }

/* ---------- Layers grid ---------- */
.layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.layers > div { padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.layers p { margin: 0; font-size: 16px; color: var(--text-2); }
.layers h3 { margin: 8px 0; font-family: var(--display); font-size: 24px; }

/* ---------- Newsletter teaser ---------- */
.teaser-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.dark-card {
  flex: 1 1 300px; text-decoration: none; color: var(--on-dark); border: 1px solid var(--dark-line);
  border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.dark-card:hover { border-color: var(--on-dark-3); color: var(--on-dark); }
.dark-card .t { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.25; }
.dark-card .s { font-size: 16px; color: var(--on-dark-2); }
.inline-form { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.inline-form label { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--on-dark-2); }
.field-dark {
  height: 52px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--dark-line-2);
  background: var(--dark-field); color: var(--on-dark); font: inherit; font-size: 17px;
}
.inline-form .btn { height: 52px; }
.et-sub { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.et-sub label { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--on-dark-2); }
.et-sub .btn { height: 52px; }
.et-sub--stack { flex: 1 1 340px; flex-direction: column; align-items: stretch; }
.et-sub--stack label { flex: none; }
.sent-box .label { color: var(--accent-on-dark); }
.masthead .notice { flex-basis: 100%; }
.notice { margin-top: 16px; padding: 12px 16px; border-radius: 6px; font-size: 16px; background: rgba(232, 100, 60, 0.12); }
.section--dark .notice { background: rgba(255, 138, 99, 0.14); }

/* ---------- FAQ ---------- */
.faq .wrap { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.faq__intro { flex: 1 1 300px; }
.faq__list { flex: 999 1 560px; min-width: 0; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 44px; padding: 24px 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.3; }
.faq details p { margin: 0 0 26px; max-width: 680px; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.contact__intro { flex: 1 1 360px; }
.contact__direct { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.contact__direct div { display: flex; gap: 14px; align-items: baseline; }
.contact__direct b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--label); min-width: 72px; }
.et-form { flex: 1 1 440px; display: flex; flex-direction: column; gap: 20px; }
.et-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.et-form legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.reasons { display: flex; flex-wrap: wrap; gap: 10px; }
.reasons input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.reasons label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--white); font-size: 15px; cursor: pointer;
}
.reasons input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--on-dark); font-weight: 600; }
.reasons input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.row2 { display: flex; flex-wrap: wrap; gap: 18px; }
.row2 > * { flex: 1 1 200px; min-width: 0; }
.f input, .f select, .f textarea, .field-dark { width: 100%; min-width: 0; }
.f { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.f input, .f select, .f textarea {
  min-height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--white); font: inherit; font-size: 17px; font-weight: 400; color: var(--ink);
}
.f textarea { padding: 12px 14px; resize: vertical; }
.reason-fields { display: none; flex-direction: column; gap: 20px; }
.et-form:has(#reason-product:checked) .reason-fields--product,
.et-form:has(#reason-role:checked) .reason-fields--role,
.et-form:has(#reason-investor:checked) .reason-fields--investor,
.et-form:has(#reason-other:checked) .reason-fields--other { display: flex; }
.no-has .reason-fields.is-on { display: flex; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.et-form .btn { align-self: flex-start; }
.sent-box { flex: 1 1 440px; align-self: flex-start; background: var(--ink); color: var(--on-dark); border-radius: 10px; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.sent-box .t { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.15; }
.sent-box a { color: var(--on-dark); font-weight: 600; }

/* ---------- Working together ---------- */
.page-hero { padding: 104px 0 72px; }
.page-hero .display { max-width: 900px; font-size: clamp(44px, 6vw, 80px); line-height: 1.03; }
.path-card dl { margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.path-card dt { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.path-card dd { margin: 4px 0 0; }
.path-card h2 { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.investors__head { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; }
.investors__head > div { flex: 999 1 560px; min-width: 0; }
.contrast { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px; }
.contrast > div { flex: 1 1 380px; border-radius: 10px; padding: 32px; }
.contrast .c1 { border: 1px solid var(--line); background: var(--paper); }
.contrast .c2 { background: var(--ink); color: var(--on-dark); }
.contrast .k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.contrast .c2 .k { color: var(--accent-on-dark); }
.contrast p { margin: 12px 0 0; font-size: 20px; }
.contrast .c1 p { color: var(--text-2); }
.loop { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.loop li { flex: 1 1 180px; border-top: 4px solid var(--accent); padding-top: 14px; }
.loop .n { font-family: var(--mono); font-size: 12px; color: var(--on-dark-3); }
.loop .t { font-weight: 600; font-size: 19px; }
.loop .d { font-size: 15px; color: var(--on-dark-2); }
.about .wrap { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.about__photo { flex: 1 1 320px; }
.about__photo img { display: block; width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.about__copy { flex: 999 1 520px; min-width: 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }

/* ---------- Writing index ---------- */
.masthead .wrap { padding-top: 96px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-end; }
.masthead__copy { flex: 999 1 560px; min-width: 0; }
.masthead h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(48px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.04em; }
.masthead form { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.masthead form label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--on-dark-2); }
.pillars { border-bottom: 1px solid var(--line); }
.pillars .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.featured {
  text-decoration: none; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: stretch;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 40px;
}
.featured__img { flex: 1 1 360px; min-height: 280px; border-radius: 8px; background-color: var(--paper-3); background-image: radial-gradient(circle, var(--line-strong) 1.4px, transparent 1.7px); background-size: 18px 18px; overflow: hidden; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured__copy { flex: 1 1 420px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured__copy .t { font-family: var(--display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.lens { background: var(--ink); color: var(--on-dark); border-radius: 12px; padding: 44px 40px; }
.lens a { color: var(--on-dark); }
.post-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { text-decoration: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding: 26px 0; }
.post-list .p { flex: 0 0 180px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--label); }
.post-list .t { flex: 999 1 420px; min-width: 0; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.25; }
.post-list .d { flex: 0 0 auto; font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.pagination { margin-top: 32px; display: flex; gap: 16px; font-weight: 600; }

/* ---------- Article ---------- */
.article-head { max-width: 760px; margin: 0 auto; padding: 72px 24px 40px; }
.article-head h1 { margin: 18px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
.article-head .dek { margin: 24px 0 0; font-size: 22px; line-height: 1.5; color: var(--text-2); }
.byline { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; line-height: 1.35; }
.byline img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.byline .n { font-weight: 600; font-size: 16px; }
.prose { max-width: 760px; margin: 0 auto; padding: 0 24px; font-size: 19px; line-height: 1.65; }
.prose > * { margin-top: 0; margin-bottom: 26px; }
.prose h2 { margin: 56px 0 18px; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; }
.prose h3 { margin: 40px 0 14px; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.prose ol, .prose ul { padding-left: 26px; }
.prose li + li { margin-top: 12px; }
.prose blockquote, .prose .wp-block-pullquote {
  margin: 48px 0; padding: 36px 0; border: 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); text-align: left;
}
.prose blockquote p, .prose .wp-block-pullquote p { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.015em; }
.prose blockquote cite { display: block; margin-top: 14px; font-family: var(--mono); font-style: normal; font-size: 14px; color: var(--text-3); }
.prose .et-callout { background: var(--ink); color: var(--on-dark); border-radius: 10px; padding: 28px 30px; }
.prose .et-callout > :first-child { margin-top: 0; }
.prose .et-callout > :last-child { margin-bottom: 0; }
.prose .et-callout h3, .prose .et-callout .et-kicker { color: var(--accent-on-dark); }
.prose .et-callout a { color: var(--on-dark); }
.prose figure img, .prose .wp-block-image img { border-radius: 10px; }
.prose figcaption { font-family: var(--mono); font-size: 13px; color: var(--text-3); margin-top: 10px; }
.prose a { text-underline-offset: 3px; }
.et-kicker { font-family: var(--mono) !important; font-size: 12px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); margin-bottom: 8px !important; }
.article-foot { max-width: 760px; margin: 0 auto; padding: 32px 24px 96px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.author-box { margin-top: 40px; background: var(--ink); color: var(--on-dark); border-radius: 12px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.author-box .who { display: flex; align-items: center; gap: 14px; line-height: 1.35; }
.author-box .who img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; }
.author-box .big { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.25; }
.author-box form { display: flex; flex-wrap: wrap; gap: 12px; }
.author-box label { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--on-dark-2); }
.author-box .btn { align-self: flex-end; height: 52px; }
.author-box a { color: var(--on-dark); font-weight: 600; }
.related { background: var(--paper-2); border-top: 1px solid var(--line); }
.light-card { flex: 1 1 300px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.light-card .t { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.25; }

/* ---------- Journey ---------- */
.journey-head { padding: 72px 0 56px; }
.journey-head h1 { margin: 24px 0 0; max-width: 1000px; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -0.035em; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-family: var(--mono); font-size: 12px; }
.status-chip::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.snapshot { margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1.5px solid var(--ink); }
.snapshot > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.snapshot dt { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.snapshot dd { margin: 6px 0 0; font-weight: 600; }
.journey-hero-img { aspect-ratio: 21 / 9; min-height: 260px; border-radius: 12px; background-color: var(--paper-3); background-image: radial-gradient(circle, var(--line-strong) 1.4px, transparent 1.7px); background-size: 18px 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; color: var(--text-3); text-align: center; padding: 24px; }
.journey-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.journey-content { counter-reset: beat; max-width: var(--wrap); margin: 0 auto; padding: 24px 24px 72px; font-size: 18px; line-height: 1.6; }
.journey-content > * { max-width: 720px; margin-top: 0; margin-bottom: 22px; }
.journey-content > h2 {
  counter-increment: beat; position: relative; margin-top: 88px; margin-bottom: 20px;
  font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.02em;
}
.journey-content > h2::before {
  content: counter(beat, decimal-leading-zero); display: block; margin-bottom: 12px;
  font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.03em; color: var(--accent);
}
.journey-content > h2.et-plain { counter-increment: none; }
.journey-content > h2.et-plain::before { content: none; }
.journey-content > .et-kicker + h2 { margin-top: 0; }
.journey-content > .et-kicker { margin-top: 88px; }
.journey-content blockquote { margin-top: 28px; margin-bottom: 22px; margin-right: 0; padding: 24px 28px; border: 0; border-radius: 10px; background: var(--ink); color: var(--on-dark); }
.journey-content blockquote::before { content: 'The call'; display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-on-dark); }
.journey-content blockquote p { margin: 10px 0 0; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.35; }
.journey-content blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 16px; color: var(--on-dark-2); }
.journey-content ul.et-stats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; max-width: none; }
.journey-content ul.et-stats li { flex: 1 1 200px; border-top: 1.5px solid var(--ink); padding-top: 16px; color: var(--text-2); }
.journey-content ul.et-stats strong { display: block; font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
@media (min-width: 900px) {
  .journey-content > * { margin-left: 284px; }
  .journey-content > h2::before { position: absolute; left: -284px; top: 0; margin: 0; }
  .journey-content > .et-kicker { position: relative; }
}

/* ---------- Generic page / 404 ---------- */
.page-content { max-width: 760px; margin: 0 auto; padding: 72px 24px 104px; }
.page-content h1 { margin: 0 0 32px; font-family: var(--display); font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 64px; }
  .journey-line, .art-atoms, .art-bits { display: none; }
  .hero__atom { right: -10px; }
  .site-nav .menu { width: 100%; justify-content: space-between; align-items: center; gap: 8px 12px; }
  .site-nav .menu > li:first-child:not(.menu-cta) { display: none; }
  .menu .menu-cta a { padding: 9px 12px; }
  .compare__col { padding: 28px; }
  .featured { padding: 24px; }
  .lens { padding: 32px 24px; }
  .menu { font-size: 15px; }
  .post-list .p { flex-basis: 100%; }
  .prose { font-size: 18px; }
}
