
body.page {
  --ink:       oklch(0.20 0.035 252);
  --ink-soft:  oklch(0.37 0.030 252);
  --linen:     oklch(0.94 0.010 80);
  --paper:     oklch(0.99 0.005 80);
  --mist:      oklch(0.89 0.014 80);
  --smoke:     oklch(0.49 0.006 80);
  --sage:      #525A51;
  --sage-text: #ffffff;
  --rule:      oklch(0.85 0.016 80);
  --rule-mist: oklch(0.81 0.018 80);
  --rule-chrome: oklch(0.85 0.016 80);

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 88px; --s-10: 120px;

  --font-serif: var(--wp--preset--font-family--spectral);
  --font-ui:    var(--wp--preset--font-family--inter);
  --font-mono:  var(--wp--preset--font-family--mono);

  --t-small:  180ms;
  --t-medium: 280ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);

  --pad: var(--s-4);
}
@media (min-width: 720px)  { body.page { --pad: var(--s-6); } }
@media (min-width: 1024px) { body.page { --pad: var(--s-7); } }
@media (min-width: 1440px) { body.page { --pad: var(--s-8); } }

body.page main[id],
body.page section[id],
body.page .wp-block-group[id] { scroll-margin-top: 124px; }
@media (min-width: 1024px) {
  body.page main[id],
  body.page section[id],
  body.page .wp-block-group[id] { scroll-margin-top: 130px; }
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 900px) { .wrap { padding: 0 24px; } }

.wp-block-eurocraftsmanship-editorial-hero .hero__inner .hero__name {
  font-size: clamp(32px, 4.2vw, 44px);
}

:where(.section, .note-sage, .routing, .invite__inner) :where(p, h2, h3) { margin: 0; }

.toc {
  position: sticky; top: 72px; z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.toc__list {
  list-style: none; margin: 0 auto; padding: 12px 56px;
  max-width: 1280px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  counter-reset: toc;
}
.toc__item { counter-increment: toc; }
.toc__item a {
  display: inline-flex; align-items: baseline; gap: 8px;
  color: var(--smoke);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.toc__item a::before { content: counter(toc, decimal-leading-zero); color: var(--rule-chrome); }
.toc__item a:hover { color: var(--ink); }
.toc__item a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 900px) {
  .toc::after {
    content: '';
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, var(--paper));
    pointer-events: none;
  }
  .toc__list { flex-wrap: nowrap; overflow-x: auto; padding: 12px 24px; scrollbar-width: none; }
  .toc__list::-webkit-scrollbar { display: none; }
  .toc__item { flex-shrink: 0; }
  .toc__item:last-child { padding-right: 24px; }
}

body.page .eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink); margin: 0 0 24px;
}
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.section--closer { padding: clamp(48px, 6vw, 72px) 0; }
.section.paper { background: var(--paper); }
.section.linen { background: var(--linen); }
.section.paper + .section.paper,
.section.linen + .section.linen { padding-top: 0; }

.read { max-width: 680px; margin: 0 auto; padding: 0 var(--pad); }
.read--continued { margin-top: 64px; }
.read h2 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.read p {
  font-family: var(--font-ui); font-weight: 300;
  font-size: 18.5px; line-height: 1.7;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.read p:last-child { margin-bottom: 0; }
.read p em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.read a.inline { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--smoke); transition: border-color .15s; }
.read a.inline:hover { border-color: var(--ink); }
.commit-line {
  margin: 48px 0 0;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.02em;
}
.commit-line em { font-style: italic; }
.read p.correction {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 16px;
}
.correction a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.disclosure-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: opacity .15s;
}
.disclosure-link:hover { opacity: .7; }

.stat-line {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin: 48px 0; padding: 32px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  text-align: center;
}
.stat-line__item {
  display: flex; flex-direction: column-reverse;
  margin: 0;
}
.stat-line__count {
  display: block; margin: 0;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--ink);
}
.stat-line__label {
  font-family: var(--font-ui); font-weight: 300;
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 600px) { .stat-line { grid-template-columns: 1fr; gap: 16px; } }

.review-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 88px;
  align-items: start;
}
.review-left h2 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(32px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -0.012em;
  margin: 0 0 24px; max-width: 18ch;
  text-wrap: balance;
}
.review-left p {
  font-family: var(--font-ui); font-weight: 300;
  font-size: 17px; line-height: 1.65;
  color: var(--ink); max-width: 42ch;
  margin: 0 0 24px;
}
.review-left p em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.checklist-row:last-child { border-bottom: 0; }
.checklist-num {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--smoke);
  padding-top: 6px;
  margin: 0;
}
.checklist-name {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 24px; line-height: 1.3;
  margin: 0 0 4px;
  text-wrap: balance;
}
.checklist-desc {
  font-family: var(--font-ui); font-weight: 400;
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; gap: 32px; } }

.made-wide { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.tier-head { max-width: 680px; margin: 0 auto 56px; }
.tier-head h2 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.tier-lede {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 21px; line-height: 1.55;
  color: var(--ink); margin: 0;
}
.tiers {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  margin: 0; padding: 0;
}
.tiers__cell { border-top: 2px solid var(--ink); padding-top: 24px; }
.tiers__num {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--smoke);
  display: block; margin: 0 0 12px;
}
.tiers__name {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 22px; line-height: 1.25; letter-spacing: -0.02em;
  margin: 0 0 8px;
  text-wrap: balance;
}
.tiers__desc {
  font-family: var(--font-ui); font-weight: 300;
  font-size: 15px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; gap: 32px; } }

.note-sage {
  background: var(--sage); color: var(--sage-text);
  padding: 80px 0;
}
.note-sage__inner {
  max-width: 1440px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 1024px) {
  .note-sage__inner { grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
}
.note-sage__eyebrow {
  font-family: var(--font-mono); font-size: 11px; line-height: 1;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sage-text); margin: 0 0 20px;
}
.note-sage__h {
  font-family: var(--font-serif); font-weight: 300; font-style: normal;
  font-size: clamp(40px, 4.4vw, 56px); line-height: 1.2; letter-spacing: -0.02em;
  color: var(--sage-text);
  margin: 0;
  text-wrap: balance;
}
.note-sage__quote {
  font-family: var(--font-ui); font-weight: 300;
  font-size: 18px; line-height: 1.6;
  color: var(--sage-text); margin: 0;
}
.note-sage__quote em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.note-sage__sign {
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: 24px; line-height: 1;
  color: var(--sage-text);
  margin: 40px 0 0;
}

.invite__inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.invite__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 48px;
}
.invite__cell { padding: 8px 56px; }
.invite__cell:first-child { padding-left: 0; }
.invite__cell:last-child { padding-right: 0; border-left: 1px solid var(--rule); }
.invite__index {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--smoke);
  display: block; margin: 0 0 16px;
}
.invite__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
  text-wrap: balance;
}
.invite__h {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.invite__p {
  font-family: var(--font-ui); font-weight: 300;
  font-size: 17px; line-height: 1.6;
  color: var(--ink); margin: 0 0 28px; max-width: 42ch;
}
.invite__p strong { font-weight: 500; }
.invite-action {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-serif); font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  text-decoration: none;
}
.invite-action .u {
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color .18s, text-decoration-color .18s, text-decoration-thickness .18s;
}
.invite-action:hover .u {
  color: var(--ink-soft);
  text-decoration-color: var(--ink-soft);
  text-decoration-thickness: 2px;
}
@media (max-width: 760px) {
  .invite__grid { grid-template-columns: 1fr; gap: 40px; }
  .invite__cell { padding: 0 !important; border-left: 0 !important; }
  .invite__cell:last-child { padding-top: 40px !important; border-top: 1px solid var(--rule); }
}

.routing {
  background: var(--paper);
  padding: clamp(72px, 9vw, 120px) var(--pad);
}
.routing__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.routing__head {
  margin: 0 0 var(--s-8);
}
.routing__eyebrow { margin: 0 0 var(--s-5); }
.routing__h {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.routing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.routing__side {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
@media (min-width: 900px) {
  .routing__grid {
    grid-template-columns: 1.4fr 1fr;
    column-gap: var(--s-8);
    row-gap: var(--s-8);
    align-items: stretch;
  }
  .routing__side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--s-7);
  }
}
.routing .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
  transition: color var(--t-medium) ease;
}
.routing .cta:hover { color: var(--ink); }
.route-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.route-card__index {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  margin: 0 0 var(--s-3);
}
.route-card__h {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-3);
  color: var(--ink);
  text-wrap: balance;
}
.route-card__p {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 var(--s-4);
  flex: 1;
  max-width: 56ch;
}
.route-card__cta {
  align-self: flex-start;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: opacity var(--t-small) ease;
}
.route-card:hover .route-card__cta { opacity: 0.7; }

.route-card--lead {
  border: 1px solid var(--ink);
  padding: var(--s-6);
}
@media (min-width: 900px) {
  .route-card--lead {
    padding: var(--s-8) var(--s-7);
  }
  .route-card--lead .route-card__h {
    font-size: clamp(24px, 2.6vw, 30px);
  }
  .route-card--lead .route-card__p {
    max-width: 42ch;
    font-size: 17px;
    margin-bottom: var(--s-6);
  }
}
