/* ──────────────────────────────────────────────────────────────
   The Marchitect — Site Overrides
   Loaded AFTER colors_and_type.css and web-kit.css.
   Page-level layout, hero variations, blog typography go here.
   Do not edit colors_and_type.css or web-kit.css directly.
   ────────────────────────────────────────────────────────────── */


/* ── Page scaffolding ────────────────────────────────────────── */

body {
  /* Subtle art-deco sunburst from the bottom, per design system spec.
     Very low opacity. Never a full gradient. */
  background:
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(150, 105, 76, 0.05) 0%, transparent 60%),
    var(--bone);
  background-attachment: fixed;
}

main {
  display: block;
}

.site-section {
  padding: 96px 0;
}
.site-section--tight  { padding: 64px 0; }
.site-section--ample  { padding: 128px 0; }
.site-section--ink    { background: var(--ink); color: var(--paper); }
.site-section--paper  { background: var(--paper); }

@media (max-width: 880px) {
  .site-section { padding: 64px 0; }
  .site-section--ample { padding: 80px 0; }
}


/* ── Blog post layout ────────────────────────────────────────── */

.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 96px;
}

.post__eyebrow {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 24px;
}

.post__title {
  font-family: var(--f-head);
  font-weight: 300;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 32px;
}
.post__title em { font-style: normal; font-weight: 500; }
.post__title .accent { color: var(--red); font-weight: 500; }

.post__lede {
  font-family: var(--f-body);
  font-size: 21px;
  line-height: 1.55;
  opacity: .82;
  margin: 0 0 48px;
}

.post__body {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.7;
}
.post__body h2 {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -.005em;
  margin: 56px 0 16px;
}
.post__body h3 {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 22px;
  margin: 40px 0 12px;
}
.post__body p { margin: 0 0 20px; }
.post__body ul, .post__body ol { margin: 0 0 24px; padding-left: 22px; }
.post__body li { margin-bottom: 8px; }
.post__body strong { font-weight: 500; }
.post__body em { font-style: italic; }
.post__body blockquote {
  margin: 32px 0;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--red);
  font-family: var(--f-head);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}
.post__body a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.post__body a:hover { color: var(--ink); }

.post__cta {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-copper);
}

/* ── Prev / Next post navigation ─────────────────────────────── */

.post__adjacent {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.post__adjacent-link {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 46%;
  text-decoration: none;
  color: var(--ink);
}
.post__adjacent-link--next {
  margin-left: auto;
  flex-direction: row-reverse;
  text-align: right;
}
.post__adjacent-arrow {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
  color: var(--red);
}
.post__adjacent-label {
  display: block;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 4px;
}
.post__adjacent-title {
  display: block;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
}
.post__adjacent-link:hover .post__adjacent-title { color: var(--red); }

@media (max-width: 640px) {
  .post__adjacent { flex-direction: column; gap: 20px; }
  .post__adjacent-link,
  .post__adjacent-link--next {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
    flex-direction: row;
  }
}

@media (max-width: 720px) {
  .post { padding: 56px 20px 72px; }
  .post__title { font-size: 34px; }
  .post__lede { font-size: 18px; }
  .post__body { font-size: 17px; }
}


/* ── About page — credibility stack ──────────────────────────── */

.cred-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
  margin: 40px 0;
}
.cred-stack__cell {
  background: var(--paper);
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cred-stack__v {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -.02em;
  color: var(--red);
  line-height: 1;
}
.cred-stack__l {
  font-family: var(--f-body);
  font-size: 15px;
  opacity: .82;
  line-height: 1.45;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .cred-stack { grid-template-columns: 1fr; }
}


/* ── Prose blocks ────────────────────────────────────────────── */

.prose {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose--narrow { max-width: 720px; }
.prose--narrow.u-center { margin-left: auto; margin-right: auto; }

.prose__pull {
  margin: 28px 0;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--red);
  font-family: var(--f-head);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.32;
  letter-spacing: -.005em;
  color: var(--ink);
}

.prose__list,
.prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prose__list li,
.prose ul li {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.prose__list li::before,
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 10px;
  height: 1px;
  background: var(--red);
}
@media (max-width: 720px) {
  .prose__list li,
  .prose ul li { font-size: 16px; }
  .prose__list li::before,
  .prose ul li::before { top: 11px; }
}

.prose--on-ink {
  color: var(--paper);
}
.prose--on-ink .prose__pull {
  color: var(--paper);
  border-left-color: var(--red);
}

/* Eyebrow + H2 on ink background */
.eyebrow--on-ink {
  color: var(--copper);
}
.h2--on-ink {
  color: var(--paper);
}
.site-section--ink .mar-copper-rule {
  background: var(--copper);
  opacity: .8;
}

/* Card title sub-text (small inline note next to the title) */
.mar-card__sub {
  display: block;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--copper);
  margin-top: 6px;
  opacity: .9;
}


/* ── Compare cols (before / after on Services) ───────────────── */

.compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) {
  .compare-cols { grid-template-columns: 1fr; gap: 20px; }
}
.compare-col {
  background: var(--paper);
  padding: 32px 28px;
  border-radius: 2px;
}
.compare-col--before {
  border-top: 2px solid var(--copper);
  opacity: .92;
}
.compare-col--after {
  border-top: 2px solid var(--red);
}
.compare-col__label {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0;
}
.compare-col--after .compare-col__label { color: var(--red); }
.compare-col__sub {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.005em;
  margin: 6px 0 18px;
  color: var(--ink);
}
.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-col li {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .85;
  padding-left: 18px;
  position: relative;
}
.compare-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--copper);
}
.compare-col--after li::before { background: var(--red); }


/* ── Engagement card (Services) ──────────────────────────────── */

.engagement {
  background: #fff;
  border-top: 2px solid var(--red);
  border-radius: 2px;
  padding: 44px 40px 40px;
  margin: 0 0 32px;
}
.engagement:last-child { margin-bottom: 0; }
.engagement__eyebrow {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 12px;
}
.engagement__title {
  font-family: var(--f-head);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 18px;
  color: var(--ink);
}
.engagement__title em { font-style: normal; font-weight: 500; }
.engagement__sub {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .82;
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.engagement__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
}
@media (max-width: 880px) {
  .engagement { padding: 32px 24px; }
  .engagement__title { font-size: 26px; }
  .engagement__grid { grid-template-columns: 1fr; gap: 24px; }
}
.engagement__head {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 8px;
}
.engagement__grid p {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 24px;
  opacity: .92;
}
.engagement__grid p:last-child { margin-bottom: 0; }
.engagement__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.engagement__list li {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .88;
  padding-left: 18px;
  position: relative;
}
.engagement__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--red);
}


/* ── Numbered "promise" list (About) ─────────────────────────── */

.promise-list {
  counter-reset: promise;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
}
.promise-list li {
  counter-increment: promise;
  position: relative;
  padding: 0 0 24px 56px;
  margin: 0;
  border-bottom: 1px solid var(--rule);
}
.promise-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.promise-list li + li { padding-top: 24px; }
.promise-list li::before {
  content: counter(promise, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.005em;
  color: var(--red);
  line-height: 1.2;
}
.promise-list li + li::before { top: 24px; }
.promise-list strong { font-weight: 500; color: var(--ink); }


/* ── Specialized expertise list (Services) ───────────────────── */

.spec-list {
  counter-reset: spec;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  max-width: 1100px;
}
@media (max-width: 720px) {
  .spec-list { grid-template-columns: 1fr; }
}
.spec-list li {
  counter-increment: spec;
  position: relative;
  padding: 16px 0 16px 48px;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .92;
  border-top: 1px solid var(--rule-copper);
}
.spec-list li::before {
  content: counter(spec, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--copper);
}
.spec-list strong { font-weight: 500; color: var(--ink); }


/* ── Section H2 weight ───────────────────────────────────────── *
 * Type spec (type.html) defines H2 = Poppins 500; SKILL.md web rule:
 * "headlines Poppins weight-500 with italic-500 em emphasis."
 * web-kit ships .mar-sec-head h2 at weight 300, so bring it to spec.
 * Hero/Display (.mar-hero__title, h1) intentionally stays at 300.
 */
.mar-sec-head h2 { font-weight: 500; }
.mar-sec-head h2 em { font-style: italic; font-weight: 500; }


/* ── Section header support on ink ───────────────────────────── */

.site-section--ink .mar-sec-head h2 { color: var(--paper); }
.site-section--ink .eyebrow { color: var(--copper); }


/* ── Web-scale eyebrow override ──────────────────────────────── *
 * colors_and_type.css ships .eyebrow at slide-scale (24px). On the
 * web, section header eyebrows should be 12px tracked. Scope the
 * override to web contexts so the slide-scale version still works
 * inside .slide containers.
 */
.mar-sec-head .eyebrow,
.site-section .eyebrow,
.err .eyebrow {
  font-size: 12px;
  letter-spacing: .32em;
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.mar-sec-head .eyebrow::before,
.site-section .eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .9;
  flex: 0 0 auto;
}
.mar-sec-head--center .eyebrow::before { display: none; }


/* ── Booking embed (Google Calendar iframe wrapper) ──────────── */

.booking-embed {
  max-width: 900px;
  margin: 0 auto;
  background: var(--paper);
  border-top: 2px solid var(--red);
  border-radius: 2px;
  padding: 24px;
  box-shadow: var(--sh-soft);
}
.booking-embed iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  background: #fff;
  border-radius: 2px;
}
@media (max-width: 720px) {
  .booking-embed { padding: 12px; }
  .booking-embed iframe { min-height: 720px; }
}


/* ── Utility ─────────────────────────────────────────────────── */

.u-center { text-align: center; }
.u-mt-0  { margin-top: 0; }
.u-mt-3  { margin-top: 16px; }
.u-mt-5  { margin-top: 40px; }
.u-mt-7  { margin-top: 100px; }
.u-hidden-mobile { display: initial; }
@media (max-width: 720px) { .u-hidden-mobile { display: none; } }

@media (max-width: 720px) {
  .prose { font-size: 16px; }
  .prose__pull { font-size: 20px; }
  .u-mt-7 { margin-top: 56px; }
}


/* ── 404 ─────────────────────────────────────────────────────── */

.err {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}
.err__num {
  font-family: var(--f-head);
  font-weight: 300;
  font-size: 120px;
  letter-spacing: -.04em;
  color: var(--red);
  line-height: 1;
  margin: 0 0 16px;
}
.err__msg {
  font-family: var(--f-head);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 32px;
}
.err__msg em { font-style: normal; font-weight: 500; }

/* ───── Card bullet lists (About pillar cards) ───── */
.mar-card__lead { margin: 0 0 14px; font-size: 16px; color: var(--ink); opacity: .82; line-height: 1.6; }
.mar-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mar-card__list li {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  opacity: .82;
  padding-left: 20px;
  position: relative;
}
.mar-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 1px;
  background: var(--red);
}
.mar-card__summary { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.6; }
