/* Editorial Team, Editorial Guidelines and Contact: same look as the home page (built by build_editorial_pages.py) */
.ed { overflow-x: clip; }
.ed h1, .ed-h2 { margin: 0; font-family: "Archivo", sans-serif; font-weight: 620; letter-spacing: -0.065em; }
.ed h1 { font-size: clamp(3.2rem, 6.4vw, 6.4rem); line-height: 0.92; }
.ed-h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 0.96; }
.ed h1 .draw-line, .ed-h2 .draw-line { font-style: italic; font-weight: 430; }
.ed-lead { max-width: 36rem; margin: 1.4rem 0 0; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.7; }
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
.ed-section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.ed-section--white { background: var(--white); }
.ed-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr); align-items: end; gap: 1.5rem clamp(2rem, 6vw, 6rem); margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.ed-head p { margin: 0; font-size: 0.98rem; line-height: 1.75; }

/* Hero */
.ed-hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 7vw, 6rem); }
.ed-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.ed-art { position: relative; display: grid; place-items: center; min-height: clamp(20rem, 34vw, 30rem); }
.ed-art__blob { position: absolute; inset: 6% 8%; border-radius: 46% 54% 50% 50% / 52% 44% 56% 48%; background: var(--violet-soft); }
.ed-art--jade .ed-art__blob { background: #e4f6f1; }
.ed-art--volt .ed-art__blob { background: #f1f8d6; }
.ed-art__svg { position: relative; width: min(82%, 26rem); height: auto; }
.ed-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.55rem; width: max-content; padding: 0.7rem 0.95rem; border-radius: 0.9rem; background: var(--white);
  box-shadow: 0 18px 40px -18px rgba(14, 14, 20, 0.35); font-size: 0.84rem; font-weight: 700; }
.ed-chip i { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--volt); font-style: normal; font-size: 0.8rem; }
.ed-chip--1 { left: 0; top: 12%; transform: rotate(-3deg); }
.ed-chip--2 { right: 0; top: 46%; transform: rotate(2.5deg); }
.ed-chip--3 { left: 6%; bottom: 6%; transform: rotate(-1.5deg); }

/* Portrait with the hand-painted jade ring */
.ed-portrait { position: relative; width: clamp(14rem, 25vw, 20rem); aspect-ratio: 1; }
.ed-portrait img:first-child { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #0b0b0e; display: block; }
.ed-portrait__ring { position: absolute; inset: -11%; width: 122%; height: 122%; pointer-events: none; }
.ed-portrait--small { width: 6.5rem; flex: none; }

/* Profile card */
.ed-profile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.8rem, 4vw, 3.4rem); border-radius: 1.6rem; background: var(--white); }
.ed-profile h2 { margin: 0; font-family: "Archivo", sans-serif; font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 650; letter-spacing: -0.06em; line-height: 1; }
.ed-role { margin: 0.7rem 0 0; font-size: 0.92rem; font-weight: 750; color: var(--violet); }
.ed-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.ed-tags li { padding: 0.45rem 0.8rem; border-radius: 999px; background: var(--paper); font-size: 0.78rem; font-weight: 700; }
.ed-profile__copy p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.8; }
.ed-profile__copy p:first-child { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; font-weight: 600; letter-spacing: -0.01em; }

/* Cards with illustrations */
.ed-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ed-card { display: flex; flex-direction: column; padding: 1.4rem; border-radius: 1.4rem; background: var(--white); }
.ed-section--white .ed-card { background: var(--paper); }
.ed-card__art { display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 1.3rem; border-radius: 1rem; background: var(--tint, var(--violet-soft)); }
.ed-card__art svg { width: 46%; height: auto; }
.ed-card__n { font-family: "Archivo", sans-serif; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; color: var(--violet); }
.ed-card h3 { margin: 0.35rem 0 0.55rem; font-family: "Archivo", sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.035em; }
.ed-card p { margin: 0; font-size: 0.93rem; line-height: 1.7; }
.ed-card p + p { margin-top: 0.8rem; }
.ed-card--byline p { margin-top: 1rem; }
.ed-section--white .ed-profile { background: var(--paper); }
.ed-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-card .text-link { margin-top: auto; padding-top: 1.2rem; align-self: flex-start; }

/* Dark panel and CTA band */
.ed-dark { padding-block: clamp(4rem, 7vw, 6rem); background: var(--ink); color: var(--paper); }
.ed-dark__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.ed-dark .ed-h2 em { font-style: italic; font-weight: 430; color: var(--volt); }
.ed-dark p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.8; color: rgba(247, 247, 244, 0.82); }
.ed-cta { padding-block: clamp(3.5rem, 6vw, 5rem); background: var(--violet); color: var(--white); }
.ed-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 3rem; }
.ed-cta h2 { max-width: 20ch; margin: 0; font-family: "Archivo", sans-serif; font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 620; line-height: 1; letter-spacing: -0.055em; }
.ed-cta .button { background: var(--white); color: var(--ink); border-color: var(--white); }
.ed-cta .button:hover { background: var(--volt); border-color: var(--volt); color: var(--ink); }

/* Guidelines: jump links, checks, source ladder, bylines */
.ed-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.ed-jump a { padding: 0.55rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; font-weight: 700; transition: background-color 200ms ease, color 200ms ease; }
.ed-jump a:hover { background: var(--ink); color: var(--paper); }
.ed-text { max-width: 46rem; }
.ed-text p { margin: 0 0 1.1rem; font-size: 1.02rem; line-height: 1.8; }
.ed-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.ed-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ed-step { position: relative; padding: 1.5rem 1.4rem 1.6rem; border-radius: 1.4rem; background: var(--white); counter-increment: step; }
.ed-step::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.1rem; border-radius: 50%; background: var(--volt);
  font-family: "Archivo", sans-serif; font-size: 1.05rem; font-weight: 800; }
.ed-step:nth-child(2)::before, .ed-step:nth-child(5)::before { background: var(--violet-soft); }
.ed-step:nth-child(3)::before, .ed-step:nth-child(6)::before { background: #e4f6f1; }
.ed-step h3 { margin: 0 0 0.5rem; font-family: "Archivo", sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; }
.ed-step p { margin: 0; font-size: 0.92rem; line-height: 1.7; }
.ed-ladder { display: grid; gap: 0.8rem; }
.ed-tier { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.3rem 1.4rem; border-radius: 1.2rem; background: var(--paper); }
.ed-tier:nth-child(1) { margin-right: 0; } .ed-tier:nth-child(2) { margin-left: 4%; } .ed-tier:nth-child(3) { margin-left: 8%; }
.ed-tier span { justify-self: start; padding: 0.4rem 0.75rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.ed-tier:nth-child(2) span { background: var(--violet); } .ed-tier:nth-child(3) span { background: var(--jade); }
.ed-tier h3 { margin: 0 0 0.35rem; font-size: 1.08rem; }
.ed-tier p { margin: 0; font-size: 0.92rem; line-height: 1.65; }
.ed-note { margin-top: 1.2rem; padding: 1.2rem 1.4rem; border-radius: 1.2rem; background: var(--violet-soft); font-size: 0.93rem; line-height: 1.7; }
.ed-note strong { display: block; margin-bottom: 0.25rem; }
.ed-byline { display: inline-block; padding: 0.4rem 0.8rem; border-radius: 0.5rem; background: var(--ink); color: var(--paper); font-size: 0.78rem; font-weight: 800; }
.ed-card--byline:nth-child(2) .ed-byline { background: var(--violet); }
.ed-card--byline:nth-child(3) .ed-byline { background: var(--jade); }
.ed-card--byline h3 { margin-top: 1rem; }
.ed-owner { display: flex; align-items: center; gap: 1.6rem; }
.ed-owner .ed-portrait__ring { inset: -14%; width: 128%; height: 128%; }
.ed-dark .text-link { color: var(--paper); }

/* Contact */
.ct-copy { min-height: 3.35rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink); font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: background-color 200ms ease; }
.ct-copy:hover { background: var(--paper); }
.ct-copy svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-copy[data-copied] { background: var(--volt); border-color: var(--volt); }
.ct-form { display: grid; gap: 1rem; max-width: 36rem; margin-top: 2rem; padding: 1.5rem; border-radius: 1.4rem; background: var(--white); box-shadow: 0 24px 50px -30px rgba(14, 14, 20, 0.35); }
.ct-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ct-field { display: grid; gap: 0.45rem; }
.ct-field label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--paper);
  color: var(--ink); font: 500 1rem/1.45 "Plus Jakarta Sans", sans-serif; transition: border-color 200ms ease; }
.ct-field textarea { min-height: 9.5rem; resize: vertical; }
.ct-field input:focus-visible, .ct-field select:focus-visible, .ct-field textarea:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.ct-field small, .ct-form__foot small { font-size: 0.8rem; line-height: 1.55; color: rgba(14, 14, 20, 0.64); }
.ct-form { position: relative; }
.ct-form .ts-slot[data-visible] { margin-top: 0; }   /* the grid gap already spaces it */
.ct-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.ct-form__foot a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.ct-form .form-status[data-state="ok"] { color: var(--jade); }
.ct-form .form-status[data-state="error"] { color: var(--ember); }
.ct-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; max-width: 36rem; margin: 1.1rem 0 0; font-size: 0.92rem; }
.ct-alt #ct-address { font-weight: 750; }
.ct-copy--small { min-height: 2.4rem; padding: 0.5rem 0.95rem; font-size: 0.74rem; }
.ct-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: 1.6rem 1.8rem; border-radius: 1.4rem; background: var(--ink); color: var(--paper); }
.ct-follow p { margin: 0; font-family: "Archivo", sans-serif; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 620; letter-spacing: -0.04em; }
.ct-follow div { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ct-follow a { padding: 0.75rem 1.1rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 0.8rem; font-weight: 750; transition: background-color 200ms ease; }
.ct-follow a:hover { background: var(--volt); }

@media (max-width: 46rem) { .ct-form__pair { grid-template-columns: 1fr; } .ct-form { padding: 1.15rem; } }

@media (max-width: 62rem) {
  .ed-hero__grid, .ed-profile, .ed-dark__grid, .ed-split, .ed-head { grid-template-columns: 1fr; }
  .ed-cards, .ed-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-cards--two { grid-template-columns: 1fr; }
  .ed-art { min-height: 0; padding-block: 2.5rem 3.5rem; }
  .ed-profile .ed-portrait { justify-self: center; }
}
@media (max-width: 46rem) {
  .ed-cards, .ed-steps { grid-template-columns: 1fr; }
  .ed-chip { font-size: 0.74rem; padding: 0.55rem 0.75rem; }
  .ed-chip i { width: 1.4rem; height: 1.4rem; }
  .ed-chip--1 { left: -2%; top: 4%; } .ed-chip--2 { right: -2%; top: 50%; } .ed-chip--3 { left: 0; bottom: 2%; }
  .ed-tier { grid-template-columns: 1fr; gap: 0.7rem; }
  .ed-tier:nth-child(n) { margin-left: 0; }
  .ed-owner { flex-direction: column; align-items: flex-start; }
  .ct-mail__actions > * { flex: 1 1 auto; justify-content: center; }
}
/* review fixes */
.ed-tags li { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--white); }
.ed-tags li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--jade); }
.ed-section--follow { padding-block: clamp(2.5rem, 4vw, 3.5rem) clamp(4rem, 6vw, 5rem); }
@media (max-width: 46rem) { .ed-card__art { aspect-ratio: 16 / 8; } .ed-card__art svg { width: 34%; } }
.ed-card--byline .ed-byline { align-self: flex-start; }
.ed-cards--two .ed-card__art { aspect-ratio: 16 / 6; }
.ed-cards--two .ed-card__art svg { width: 24%; }
.ed-owner .ed-portrait { margin: 0.9rem; }

/* Team: two people */
.ed-duo { position: relative; width: min(100%, 30rem); aspect-ratio: 1 / 0.92; }
.ed-duo .ed-portrait { position: absolute; }
.ed-duo .ed-portrait--a { left: 6%; top: 6%; width: 58%; }
.ed-duo .ed-portrait--b { right: 6%; bottom: 7%; width: 42%; }
.ed-chip--na { left: 0; top: -1%; transform: rotate(-3deg); }
.ed-chip--nb { right: 0; bottom: -5%; transform: rotate(2deg); }
.ed-people { display: grid; gap: 1rem; }
.ed-person { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(1.8rem, 4vw, 3rem); border-radius: 1.6rem; background: var(--paper); }
.ed-person .ed-portrait { width: 12rem; margin: 1.5rem; }
.ed-person h2 { margin: 0; font-family: "Archivo", sans-serif; font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 650; letter-spacing: -0.06em; line-height: 1; }
.ed-person .ed-tags { margin: 1rem 0 1.4rem; }
.ed-person .ed-tags li { background: var(--white); }
.ed-person .ed-profile__copy p:first-of-type { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; font-weight: 600; letter-spacing: -0.01em; }
#bianka .ed-tags li::before { background: var(--violet); }
#stewardship .ed-role { color: var(--jade); }
@media (max-width: 46rem) {
  .ed-person { grid-template-columns: 1fr; }
  .ed-person .ed-portrait { width: 10rem; justify-self: center; }
  .ed-chip--na { left: 0; top: -3%; } .ed-chip--nb { right: 0; bottom: -6%; }
}
