/* ==========================================================================
   AtTayeb Relief — layout
   Site chrome and page structure. Component styles live in design-system.css.
   Loaded standalone: the parent theme's stylesheet is dequeued on these views,
   so this file carries its own reset.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--at-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--at-text);
  background: var(--at-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--at-purple); }
button { font: inherit; }

.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;
}

.at-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--at-purple);
  padding: .7rem 1.2rem;
  border-radius: 0 0 8px 0;
}
.at-skip:focus { left: 0; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--at-purple);
  outline-offset: 2px;
}

.at-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --------------------------------------------------------------- utility bar */
.at-topbar {
  background: var(--at-aubergine);
  color: #C9B8D4;
  font-size: .8rem;
}
.at-topbar .at-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.5rem;
  align-items: center;
  min-height: 40px;
}
.at-topbar a { color: #C9B8D4; text-decoration: none; }
.at-topbar a:hover { color: #fff; }
.at-topbar__social { margin-left: auto; display: flex; gap: .45rem; }
.at-topbar__social a {
  width: 25px; height: 25px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.at-topbar__social a:hover { background: var(--at-purple); transform: translateY(-1px); }
.at-topbar__social svg { width: 12px; height: 12px; fill: currentColor; }

/* ------------------------------------------------------------------ masthead */
.at-masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--at-rule-soft);
}
.at-masthead .at-wrap {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  min-height: 94px;
}
.at-logo { margin-right: auto; display: flex; align-items: center; text-decoration: none; }
.at-logo img { height: 70px; width: auto; }

.at-nav__list {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}
.at-nav__list a {
  text-decoration: none;
  font-size: .91rem;
  color: var(--at-text-soft);
  position: relative;
  padding: .35rem 0;
  white-space: nowrap;
  display: inline-block;
}
.at-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--at-purple);
  transition: right .28s cubic-bezier(.4,0,.2,1);
}
.at-nav__list a:hover,
.at-nav__list a:focus-visible,
.at-nav__list .current-menu-item > a { color: var(--at-purple); }
.at-nav__list a:hover::after,
.at-nav__list a:focus-visible::after,
.at-nav__list .current-menu-item > a::after { right: 0; }

.at-navtoggle {
  display: none;
  background: transparent;
  border: 1px solid var(--at-rule);
  border-radius: 8px;
  width: 42px; height: 38px;
  cursor: pointer;
  position: relative;
}
.at-navtoggle__bars,
.at-navtoggle__bars::before,
.at-navtoggle__bars::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--at-text);
  translate: -50% 0;
  transition: transform .2s ease, opacity .2s ease;
}
.at-navtoggle__bars { top: 50%; }
.at-navtoggle__bars::before { content: ""; top: -6px; left: 0; translate: 0 0; }
.at-navtoggle__bars::after { content: ""; top: 6px; left: 0; translate: 0 0; }
.at-navtoggle[aria-expanded="true"] .at-navtoggle__bars { background: transparent; }
.at-navtoggle[aria-expanded="true"] .at-navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.at-navtoggle[aria-expanded="true"] .at-navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------------- hero */
.at-hero {
  background: var(--at-aubergine);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.at-hero .at-wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}
.at-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  letter-spacing: -.018em;
  margin-block: 1rem .5rem;
}
.at-hero h1 em { font-style: italic; color: var(--at-lilac); }
.at-hero__lede {
  color: rgba(255,255,255,.82);
  max-width: 34rem;
  margin-top: 1.1rem;
  font-size: 1.02rem;
}
.at-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.at-eyebrow--light { color: var(--at-lilac); }

.at-hero__badge {
  position: absolute;
  left: -1.2rem;
  bottom: 1.6rem;
  background: #fff;
  color: var(--at-aubergine);
  border-radius: 14px;
  padding: .8rem 1.1rem;
  box-shadow: var(--at-shadow);
  display: grid;
  gap: .1rem;
  max-width: 13rem;
}
.at-hero__badge b {
  font-family: var(--at-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--at-purple);
}
.at-hero__badge span { font-size: .74rem; color: var(--at-text-soft); line-height: 1.35; }

/* page hero — the compact variant used on interior pages */
.at-pagehero {
  background: var(--at-aubergine);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.at-pagehero .at-wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
  display: grid;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
.at-pagehero--plain .at-wrap { grid-template-columns: 1fr; max-width: 900px; }
.at-pagehero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-block: .8rem .6rem; }
.at-pagehero p { color: rgba(255,255,255,.82); max-width: 44rem; }

/* -------------------------------------------------------------------- chips */
.at-chipbar {
  background: var(--at-bg);
  border-bottom: 1px solid var(--at-rule-soft);
}
.at-chipbar .at-wrap { padding-block: 1.4rem; }

/* ------------------------------------------------------------------ sections */
.at-section > .at-wrap { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.at-section--tint { background: var(--at-bg-2); }
.at-section__head { max-width: var(--at-measure); margin-bottom: 2.6rem; }
.at-section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-block: .6rem .7rem; }
.at-section__head p { color: var(--at-text-soft); }

/* ------------------------------------------------------------------ projects */
.at-projects {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
}
.at-project {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-radius: var(--at-radius);
  overflow: hidden;
  background: var(--at-surface);
  border: 1px solid var(--at-rule);
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s ease;
}
.at-project:hover { transform: translateY(-5px); box-shadow: var(--at-shadow); }
.at-project__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--at-purple-soft);
  position: relative;
}
.at-project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.at-project:hover .at-project__media img { transform: scale(1.06); }
.at-project__tag {
  position: absolute;
  left: .8rem; top: .8rem;
  z-index: 2;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 600;
  background: rgba(255,255,255,.94);
  color: var(--at-purple);
  padding: .3rem .65rem;
  border-radius: 999px;
}
.at-project__body {
  padding: 1.15rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.at-project__body h3 { font-size: 1.16rem; }
.at-project__body p { font-size: .88rem; color: var(--at-text-soft); }
.at-project__more {
  margin-top: auto;
  padding-top: .85rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--at-purple);
  display: inline-flex;
  gap: .35rem;
}
.at-project__more span { transition: translate .2s ease; }
.at-project:hover .at-project__more span { translate: 4px 0; }

/* ------------------------------------------------------------------ feature */
.at-feature {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}
.at-feature h2 { font-size: clamp(1.8rem, 3.3vw, 2.4rem); margin-bottom: .8rem; }
.at-feature p { color: var(--at-text-soft); }
.at-feature p + p { margin-top: 1rem; }

.at-steps { list-style: none; }
.at-steps li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--at-rule-soft);
}
.at-steps li:first-child { border-top: 1px solid var(--at-rule-soft); }
.at-steps__n {
  font-family: var(--at-display);
  font-size: .95rem;
  color: var(--at-purple);
  font-variant-numeric: tabular-nums;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--at-rule);
  display: grid;
  place-items: center;
}
.at-steps h4 { font-size: 1rem; margin-bottom: .15rem; }
.at-steps p { font-size: .9rem; color: var(--at-text-soft); }

/* ------------------------------------------------------- article / page copy */
.at-prose {
  max-width: var(--at-measure);
  font-size: 1.02rem;
  color: var(--at-text-soft);
}
.at-prose > * + * { margin-top: 1.15rem; }
.at-prose h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--at-text);
  margin-top: 2.6rem;
}
.at-prose h3 {
  font-size: 1.25rem;
  color: var(--at-text);
  margin-top: 2rem;
}
.at-prose ul, .at-prose ol { padding-left: 1.1rem; }
.at-prose li + li { margin-top: .4rem; }
.at-prose img { border-radius: var(--at-radius); }
.at-prose blockquote {
  border-left: 3px solid var(--at-purple);
  padding-left: 1.2rem;
  font-family: var(--at-display);
  font-size: 1.2rem;
  color: var(--at-text);
}
.at-prose a { text-decoration: underline; text-underline-offset: 2px; }

.at-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  align-items: start;
}
.at-aside {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 1rem;
}

/* ------------------------------------------------------------------ CTA band */
.at-cta {
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
}
.at-cta__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
}
.at-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(91,10,121,.92), rgba(27,7,37,.94));
}
.at-cta .at-wrap {
  padding-block: clamp(3.5rem, 7vw, 5rem);
  display: grid;
  gap: 1rem;
  justify-items: center;
}
.at-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 24ch; }
.at-cta p { max-width: 48ch; color: rgba(255,255,255,.88); }
.at-cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: .5rem; }

/* ------------------------------------------------------------------- footer */
.at-foot { background: var(--at-aubergine); color: #D9CFE0; }
.at-foot .at-wrap { padding-block: 3.2rem 2rem; display: grid; gap: 2.4rem; }
.at-foot__cols {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr));
}
.at-foot h4 {
  font-family: var(--at-body);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #fff;
  margin-bottom: .9rem;
}
.at-foot p { font-size: .85rem; }
.at-foot ul { list-style: none; display: grid; gap: .5rem; }
.at-foot a {
  color: #D9CFE0;
  text-decoration: none;
  font-size: .87rem;
  transition: color .2s ease, translate .2s ease;
  display: inline-block;
}
.at-foot a:hover { color: #fff; translate: 3px 0; }
.at-foot__logo {
  background: #fff;
  padding: .55rem .7rem;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 1rem;
}
.at-foot__logo img { height: 56px; width: auto; }
.at-foot__legal {
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 1.2rem;
  font-size: .77rem;
  color: #9E8FA8;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ------------------------------------------------------------- breakpoints */
@media (max-width: 1040px) {
  .at-logo img { height: 54px; }
  .at-masthead .at-wrap { min-height: 76px; gap: 1rem; }
  .at-navtoggle { display: block; order: 3; }
  .at-masthead__cta { order: 2; }

  .at-nav {
    order: 4;
    flex-basis: 100%;
    display: none;
    padding-bottom: 1rem;
  }
  .at-nav.is-open { display: block; }
  .at-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .at-nav__list li { border-top: 1px solid var(--at-rule-soft); }
  .at-nav__list a { padding: .8rem 0; }
  .at-nav__list a::after { display: none; }

  .at-hero .at-wrap,
  .at-pagehero .at-wrap { grid-template-columns: 1fr; }
  .at-hero__figure, .at-pagehero__figure { max-width: 26rem; }
  .at-hero__badge { left: auto; right: 1rem; }

  .at-layout { grid-template-columns: 1fr; }
  .at-aside { position: static; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .at-foot__cols { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------- info cards */
.at-info {
  border: 1px solid var(--at-rule);
  border-radius: var(--at-radius);
  padding: 1.5rem;
  background: var(--at-surface);
  display: grid;
  gap: .7rem;
  align-content: start;
}
.at-info h3 { font-size: 1.1rem; }
.at-info p { font-size: .9rem; color: var(--at-text-soft); }
.at-info .at-btn { justify-self: start; }
.at-info--dark {
  background: var(--at-aubergine);
  border-color: var(--at-aubergine);
  color: #fff;
}
.at-info--dark p { color: rgba(255,255,255,.8); }
.at-info--dark a { color: #fff; }
.at-info--dark .at-info__list strong { color: rgba(255,255,255,.6); }
.at-info--quiet {
  background: transparent;
  border-style: dashed;
}
.at-info--quiet p { font-size: .82rem; color: var(--at-text-mute); }

.at-info__list { list-style: none; display: grid; gap: .85rem; }
.at-info__list li { display: grid; gap: .1rem; font-size: .92rem; }
.at-info__list strong {
  font-family: var(--at-body);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--at-text-mute);
  font-weight: 600;
}
.at-info__list a { text-decoration: none; }
.at-info__list a:hover { text-decoration: underline; }

.at-note {
  font-size: .9rem;
  color: var(--at-text-mute);
  border: 1px dashed var(--at-rule);
  border-radius: var(--at-radius);
  padding: 1.2rem;
}

/* ------------------------------------------------------------ resource cards */
.at-cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.at-card {
  border: 1px solid var(--at-rule);
  border-radius: var(--at-radius);
  padding: 1.6rem 1.5rem;
  background: var(--at-surface);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.at-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--at-purple), var(--at-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.at-card:hover { transform: translateY(-4px); box-shadow: var(--at-shadow); }
.at-card:hover::before { transform: scaleX(1); }
.at-card h3 { font-size: 1.2rem; }
.at-card p { font-size: .9rem; color: var(--at-text-soft); }
.at-card__link {
  margin-top: auto;
  padding-top: .9rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--at-purple);
  text-decoration: none;
  display: inline-flex;
  gap: .4rem;
}
.at-card__link span { transition: translate .2s ease; }
.at-card:hover .at-card__link span { translate: 4px 0; }

/* ----------------------------------------------------------------------- FAQ */
.at-faq {
  border-top: 1px solid var(--at-rule);
}
.at-faq__item {
  border-bottom: 1px solid var(--at-rule);
}
.at-faq__item summary {
  cursor: pointer;
  padding: 1.15rem 2.2rem 1.15rem 0;
  font-family: var(--at-display);
  font-size: 1.1rem;
  color: var(--at-text);
  position: relative;
  list-style: none;
}
.at-faq__item summary::-webkit-details-marker { display: none; }
.at-faq__item summary::after {
  content: "";
  position: absolute;
  right: .35rem;
  top: 1.55rem;
  width: 9px; height: 9px;
  border-right: 2px solid var(--at-purple);
  border-bottom: 2px solid var(--at-purple);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.at-faq__item[open] summary::after { transform: rotate(-135deg); }
.at-faq__item summary:hover { color: var(--at-purple); }
.at-faq__body {
  padding-bottom: 1.3rem;
  max-width: 62ch;
}
.at-faq__body p { font-size: .94rem; color: var(--at-text-soft); }

/* ---------------------------------------------------------------------- form */
.at-form { display: grid; gap: 1.1rem; max-width: 40rem; }
.at-form__row {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.at-form .at-btn { justify-self: start; }
.at-form__note { font-size: .8rem; color: var(--at-text-mute); }
/* Honeypot: removed from view without display:none, which some bots detect. */
.at-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.at-field { display: grid; gap: .35rem; }
.at-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--at-text-soft);
}
.at-field label span { color: var(--at-purple); }
.at-field input,
.at-field select,
.at-field textarea {
  font: inherit;
  font-size: .97rem;
  width: 100%;
  padding: .7rem .85rem;
  color: var(--at-text);
  background: var(--at-surface);
  border: 1px solid var(--at-rule);
  border-radius: 8px;
}
.at-field textarea { resize: vertical; min-height: 8rem; }
.at-field input:focus-visible,
.at-field select:focus-visible,
.at-field textarea:focus-visible {
  outline: 2px solid var(--at-purple);
  outline-offset: 1px;
  border-color: var(--at-purple);
}

.at-notice {
  border-radius: 10px;
  padding: .9rem 1.1rem;
  font-size: .92rem;
  margin-bottom: 1.4rem;
  border: 1px solid;
}
.at-notice--good {
  background: #EAF7EE;
  border-color: #A9DDB9;
  color: #14562A;
}
.at-notice--bad {
  background: #FBECEC;
  border-color: #E4B4B4;
  color: #7A1F1F;
}

.at-prose--wide { max-width: none; }

.at-layout--contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 19rem); }

@media (max-width: 1040px) {
  .at-layout--contact { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- resources: topics */
.at-topics { margin-bottom: 2.6rem; }
.at-topics__title {
  font-family: var(--at-body);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--at-text-mute);
  margin-bottom: .9rem;
}
.at-topics .at-chip { font-size: .82rem; padding: .42rem .9rem; }

/* the library is a long list of headings + links; tighten the rhythm */
.at-prose--resources h3 {
  margin-top: 2.2rem;
  scroll-margin-top: 120px;
  font-size: 1.18rem;
}
.at-prose--resources ul { margin-top: .6rem; }
.at-prose--resources li + li { margin-top: .3rem; }

/* -------------------------------------------------------------- news / posts */
.at-posts {
  display: grid;
  gap: 1.5rem;
  /* auto-fill with a max track so one or two posts stay card-sized instead of
     stretching across the whole row */
  grid-template-columns: repeat(auto-fill, minmax(18rem, 24rem));
}
.at-post {
  border: 1px solid var(--at-rule);
  border-radius: var(--at-radius);
  overflow: hidden;
  background: var(--at-surface);
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s ease;
}
.at-post:hover { transform: translateY(-5px); box-shadow: var(--at-shadow); }
.at-post__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.at-post__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--at-purple-soft); }
.at-post__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.at-post:hover .at-post__media img { transform: scale(1.06); }
.at-post__body {
  padding: 1.2rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.at-post__date {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--at-text-mute);
}
.at-post__body h2 { font-size: 1.2rem; }
.at-post__body p { font-size: .89rem; color: var(--at-text-soft); }
.at-post__more {
  margin-top: auto;
  padding-top: .85rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--at-purple);
  display: inline-flex;
  gap: .35rem;
}
.at-post__more span { transition: translate .2s ease; }
.at-post:hover .at-post__more span { translate: 4px 0; }

.at-pagination { margin-top: 2.5rem; }
.at-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.at-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: .45rem .75rem;
  border: 1px solid var(--at-rule);
  border-radius: 999px;
  text-decoration: none;
  font-size: .87rem;
  color: var(--at-text-soft);
}
.at-pagination .page-numbers:hover { border-color: var(--at-purple); color: var(--at-purple); }
.at-pagination .page-numbers.current {
  background: var(--at-purple);
  border-color: var(--at-purple);
  color: #fff;
}

/* Interior page heroes: the tall 4:5 arch belongs on the home page, where it
   is the focal point. Here it sits beside a short standfirst, so a shallower
   crop keeps the hero compact and gets the body copy above the fold. */
.at-pagehero .at-arch__main { aspect-ratio: 4 / 3.2; }
.at-pagehero__figure { max-width: 30rem; justify-self: end; width: 100%; }
.at-pagehero .at-wrap { align-items: center; }
