
* , *::before, *::after {
  border-radius: 0;         
  box-sizing: border-box;   
}
html { scroll-behavior: smooth; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input[type="submit"]:focus-visible,
button[type="submit"]:focus-visible,
input[type="radio"]:focus-visible,
input[type="checkbox"]:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 3px;
}
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--wp--preset--color--ink);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--wp--preset--color--paper) inset;
  box-shadow: 0 0 0 1000px var(--wp--preset--color--paper) inset;
  -webkit-text-fill-color: var(--wp--preset--color--ink);
  caret-color: var(--wp--preset--color--ink);
}
input:autofill,
textarea:autofill,
select:autofill {
  box-shadow: 0 0 0 1000px var(--wp--preset--color--paper) inset;
}

.ec-eyebrow {
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--smoke);
  margin: 0 0 var(--wp--preset--spacing--s-4);
}
.ec-eyebrow--opener {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--wp--preset--color--ink);
}
.ec-eyebrow--ruled {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--s-3);
}
.ec-eyebrow--ruled::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--wp--preset--color--rule-light);
  flex: 0 0 auto;
}

.ec-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--smoke);
  text-decoration: none;
  transition: color var(--wp--custom--transition--small);
}
.ec-cta:hover,
.ec-cta:focus-visible { color: var(--wp--preset--color--ink); }
.ec-cta--arrow::after {
  content: "\2192";  
  margin-left: 6px;
  display: inline-block;
  transition: transform var(--wp--custom--transition--small);
}
.ec-cta--arrow:hover::after,
.ec-cta--arrow:focus-visible::after { transform: translateX(4px); }

.ec-inline-link {
  font-family: var(--wp--preset--font-family--spectral);
  font-weight: 300;
  color: var(--wp--preset--color--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--wp--preset--color--ink);
  transition: color var(--wp--custom--transition--small),
              text-decoration-thickness var(--wp--custom--transition--small),
              text-decoration-color var(--wp--custom--transition--small);
}
.ec-inline-link:hover,
.ec-inline-link:focus-visible {
  color: var(--wp--preset--color--ink-soft);
  text-decoration-color: var(--wp--preset--color--ink-soft);
  text-decoration-thickness: 2px;
}
.ec-inline-link--external::after {
  content: "\2197";  
  margin-left: 4px;
  display: inline-block;
  font-size: 0.85em;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root { --ec-pad: 16px; }
@media (min-width: 720px)  { :root { --ec-pad: 32px; } }
@media (min-width: 1024px) { :root { --ec-pad: 48px; } }
@media (min-width: 1440px) { :root { --ec-pad: 64px; } }

.ec-cta a { color: inherit; text-decoration: none; }

.ec-opener,
.ec-reading,
.ec-routing {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.wp-site-blocks > main { margin-block-start: 0; }

.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0; }

.ec-opener { background: var(--wp--preset--color--linen); padding: clamp(48px, 5vw, 72px) var(--ec-pad); }
.ec-opener__inner { max-width: 1180px; margin-inline: auto; }
.ec-opener__heading { margin: 0 0 var(--wp--preset--spacing--s-4); text-wrap: balance; }
.ec-opener__heading em { font-style: italic; font-weight: 300; }
.ec-opener__lede { max-width: 60ch; margin: var(--wp--preset--spacing--s-2) 0 0; color: var(--wp--preset--color--ink-soft); }
.ec-opener__meta {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--wp--preset--color--smoke);
  margin: var(--wp--preset--spacing--s-4) 0 0;
}

.ec-section-head { gap: var(--wp--preset--spacing--s-5); margin: 0 0 var(--wp--preset--spacing--s-7); }
.ec-section-head__text > * + * { margin-top: var(--wp--preset--spacing--s-3); }
.ec-section-head__cta { flex: 0 0 auto; margin: 0; }

.ec-reading { padding: clamp(72px, 9vw, 120px) var(--ec-pad); }
.ec-reading--paper { background: var(--wp--preset--color--paper); }
.ec-reading--linen { background: var(--wp--preset--color--linen); }
.ec-reading__inner { max-width: 720px; margin-inline: auto; }
.ec-reading__inner > * { margin: 0 0 var(--wp--preset--spacing--s-6); }
.ec-reading__inner > *:last-child { margin-bottom: 0; }

.ec-routing { background: var(--wp--preset--color--paper); padding: clamp(72px, 9vw, 120px) var(--ec-pad); }
.ec-routing__inner { max-width: 1080px; margin-inline: auto; }
.ec-routing__head { margin: 0 0 var(--wp--preset--spacing--s-8); }
.ec-routing__h { margin: 0; text-wrap: balance; }
.ec-routing__grid { display: grid; grid-template-columns: 1fr; gap: var(--wp--preset--spacing--s-6); }
.ec-routing__side { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--s-6); }
@media (min-width: 1024px) {
  .ec-routing--lead-left .ec-routing__grid,
  .ec-routing--lead-right .ec-routing__grid {
    grid-template-columns: 1.4fr 1fr;
    column-gap: var(--wp--preset--spacing--s-8);
    row-gap: var(--wp--preset--spacing--s-8);
    align-items: stretch;
  }
  .ec-routing--lead-right .ec-routing__grid { grid-template-columns: 1fr 1.4fr; }
  .ec-routing--lead-right .ec-route-card--lead { order: 2; }
  .ec-routing__side { display: grid; grid-template-rows: 1fr 1fr; gap: var(--wp--preset--spacing--s-7); }
  .ec-routing--grid-2 .ec-routing__grid { grid-template-columns: repeat(2, 1fr); }
  .ec-routing--grid-3 .ec-routing__grid { grid-template-columns: repeat(3, 1fr); }
}
.ec-route-card { display: flex; flex-direction: column; color: var(--wp--preset--color--ink); }
.ec-route-card__index {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px; color: var(--wp--preset--color--smoke);
  margin: 0 0 var(--wp--preset--spacing--s-3);
}
.ec-route-card__h { font-size: 20px; margin: 0 0 var(--wp--preset--spacing--s-3); text-wrap: balance; }
.ec-route-card__p {
  font-family: var(--wp--preset--font-family--inter); font-weight: 300;
  font-size: 16px; line-height: 1.5; color: var(--wp--preset--color--ink-soft);
  margin: 0 0 var(--wp--preset--spacing--s-4); flex: 1; max-width: 56ch;
}
.ec-route-card__cta { margin: 0; }
.ec-route-card--lead {
  border: 1px solid var(--wp--preset--color--ink);
  padding: var(--wp--preset--spacing--s-6);
  transition: background var(--wp--custom--transition--small);
}
.ec-route-card--lead:hover { background: var(--wp--preset--color--linen); }
@media (min-width: 1024px) {
  .ec-route-card--lead { padding: var(--wp--preset--spacing--s-8) var(--wp--preset--spacing--s-7); }
  .ec-route-card--lead .ec-route-card__h { font-size: clamp(24px, 2.6vw, 30px); }
  .ec-route-card--lead .ec-route-card__p { max-width: 42ch; font-size: 17px; margin-bottom: var(--wp--preset--spacing--s-6); }
}

.ec-breadcrumb {
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--smoke);
}
.ec-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;              
  gap: var(--wp--preset--spacing--s-2);
  white-space: nowrap;
  overflow-x: auto;               
  scrollbar-width: none;
}
.ec-breadcrumb__list::-webkit-scrollbar { display: none; }
.ec-breadcrumb__item { display: inline-flex; align-items: center; min-width: 0; }
.ec-breadcrumb__item a {
  color: var(--wp--preset--color--smoke);
  text-decoration: none;
  transition: color var(--wp--custom--transition--small);
}
.ec-breadcrumb__item a:hover { color: var(--wp--preset--color--ink); }
.ec-breadcrumb__list {
  padding-block: 15px;
  margin-block: -15px;
}
.ec-breadcrumb__item a { position: relative; }
.ec-breadcrumb__item a::before {
  content: "";
  position: absolute;
  inset: -15px 0;
}
.ec-breadcrumb__current { color: var(--wp--preset--color--ink); }
.ec-breadcrumb__sep { color: var(--wp--preset--color--rule-light); user-select: none; }

.ec-breadcrumb-band {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: var(--wp--preset--spacing--s-5) var(--ec-pad) 0;
}
.ec-breadcrumb-band__inner { max-width: 1280px; margin-inline: auto; }
