/* Cloudwhale editorial interiors. Load last, after shared and page styles. */
.ed-page { --ed-gap:clamp(28px,5.5vw,84px); }
.ed-page .section:not(.section-tight),.ed-page .section-soft { padding:clamp(48px,7vw,104px) clamp(22px,5vw,80px); }
.ed-page .section:not(.section-tight) > .text-block,.ed-page .section-soft > .text-block { width:100%;max-width:1280px;margin-inline:auto; }
.ed-page .ed-display.cw-display,.ed-page .ed-display.cw-portfolio-display { font-family:"Noto Serif",serif;font-weight:400;font-style:normal;font-size:clamp(40px,5.4vw,76px);letter-spacing:-.035em;line-height:1.15;text-transform:none;max-width:22ch;margin:16px 0 36px;overflow-wrap:break-word; }
.ed-page .ed-number { display:inline-flex;font:400 10px/1 "Lato",sans-serif;letter-spacing:.1em;color:inherit;align-items:center;justify-content:center;flex-shrink:0; }
.ed-page .ed-circle { width:32px;height:32px;border:1px solid currentColor;border-radius:50%;margin-bottom:24px; }
.ed-page .cw-kicker > .ed-circle,.ed-page .section-kicker > .ed-circle { margin:0 12px 0 0;vertical-align:middle; }
.ed-page .cw-kicker,.ed-page .section-kicker { line-height:1.8; }
.ed-page .ed-row,.ed-page .ed-feature { display:grid;grid-template-columns:36px minmax(0,.85fr) minmax(0,1.35fr);gap:18px var(--ed-gap);padding:38px 0;border-top:1px solid #30c4ab;align-items:start; }
.ed-page .ed-row > .ed-number { padding-top:12px; }
.ed-page .ed-row .cw-section-title,.ed-page .ed-feature .cw-section-title { font-size:clamp(25px,2.8vw,40px);font-style:italic;font-weight:400;line-height:1.35;letter-spacing:-.015em;text-align:left;margin:0;max-width:none;border:0;padding:0; }
.ed-page .ed-copy { min-width:0;font:300 16px/1.85 "Lato",sans-serif;letter-spacing:.02em;overflow-wrap:break-word;text-align:left; }
.ed-page .ed-copy p { font-size:16px;line-height:1.85;max-width:68ch;margin:0 0 1.3em; }
.ed-page .ed-copy p:last-child { margin-bottom:0; }
.ed-page .ed-copy > hr { display:none; }
.ed-page .ed-feature { grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr); }
.ed-page .ed-feature .ed-circle { margin-bottom:20px; }
.ed-page .ed-row-heading,.ed-page .ed-artifact-heading { min-width:0; }
/* My Path: long-form background becomes a numbered editorial index. */
.ed-resume .cw-path-copy { max-width:none; }
.ed-resume .ed-path-intro { display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--ed-gap);align-items:end;margin-bottom:64px; }
.ed-resume .ed-path-intro .cw-display { margin-bottom:0; }
.ed-resume .cw-path-download { padding-bottom:8px; }
.ed-resume .cw-path-copy > hr { display:none; }
/* Connect: the opening statement sits beside its invitation. */
.ed-connect .cw-connect-intro { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--ed-gap);align-items:start; }
.ed-connect .cw-connect-intro .cw-display { max-width:13ch; }
.ed-connect .ed-connect-lead { align-self:end;padding-bottom:36px; }
.ed-connect .cw-connect-intro .cw-connect-art { grid-column:2;width:120px;max-width:100%;margin:0 0 20px; }
.ed-connect .cw-connect-copy { max-width:none; }
.ed-connect .cw-connect-notice { max-width:76ch; }
.ed-connect .cw-connect-reflection { margin:40px 0; }
/* Visual Tools: ruled rows and a wide creative collaboration section. */
.ed-visualtools .cw-tools-process { max-width:1280px; }
.ed-visualtools .cw-tools-process > .ed-row { max-width:none; }
.ed-visualtools .cw-tools-row { display:grid;grid-template-columns:36px minmax(0,.85fr) minmax(0,1.35fr);gap:18px var(--ed-gap);border-top:1px solid #30c4ab;padding:36px 0; }
.ed-visualtools .cw-tools-row:last-of-type { border-bottom:1px solid #30c4ab; }
.ed-visualtools .cw-tools-row > .ed-number { padding-top:12px; }
.ed-visualtools .cw-tools-row .cw-section-title { font-size:clamp(25px,2.8vw,40px);line-height:1.35;letter-spacing:-.015em; }
.ed-visualtools .cw-tools-row-copy { min-width:0; }
/* Supervision: generous left headings beside native expandable definitions. */
.ed-supervision .cw-guide { padding:clamp(48px,7vw,104px) clamp(22px,5vw,80px); }
.ed-supervision .cw-guide .cw-guide-inner { max-width:1280px; }
.ed-supervision .cw-guide-inner > header { display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0 var(--ed-gap);padding-bottom:56px; }
.ed-supervision .cw-guide-inner > header > .cw-kicker { grid-column:1 / -1; }
.ed-supervision .cw-guide-inner > header > .cw-display { grid-column:1;grid-row:2 / 4;max-width:15ch; }
.ed-supervision .cw-guide-lead { grid-column:2;align-self:end;margin-top:32px; }
.ed-supervision .cw-guide-jumps { grid-column:2;align-self:start; }
.ed-supervision .cw-guide-inner > section { display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);gap:var(--ed-gap);padding:56px 0;border-top:1px solid #30c4ab; }
.ed-supervision .ed-guide-heading .cw-section-title { font-size:clamp(30px,3.3vw,48px);line-height:1.25;letter-spacing:-.02em; }
.ed-supervision .ed-guide-heading .cw-kicker { font-size:11px;margin:0 0 24px; }
.ed-supervision .ed-guide-content { min-width:0; }
.ed-supervision .cw-guide .cw-term > summary { justify-content:space-between;gap:20px;font-size:clamp(20px,2vw,28px);padding:24px 0; }
.ed-supervision .cw-guide .cw-term > summary::before { content:none; }
.ed-supervision .cw-guide .cw-term > summary::after { content:"+";font:300 28px/1 "Lato",sans-serif;color:#087e70; }
.ed-supervision .cw-guide .cw-term[open] > summary::after { content:"−"; }
.ed-supervision .cw-guide .cw-term > .cw-term-body { padding:0 0 28px; }
/* Cloudwhale: keep illustrations and turn the story into paired passages. */
.ed-cc .cw-collective .ed-display { max-width:26ch;font-size:clamp(36px,4.2vw,60px); }
.ed-cc .cw-collective .multi-column { max-width:1280px;column-count:1; }
.ed-cc .ed-origin-art { margin:40px 0; }
.ed-cc .cw-collective .ed-feature { margin:0;padding:40px 0; }
.ed-cc .cw-collective .ed-feature h2 { border:0;margin:0;padding:0; }
/* Artifacts: keep thumbnail grids intact, expand the narrative and featured work. */
.ed-portfolio .cw-type.cw-section-title.cw-portfolio-section { text-align:center;max-width:1100px;margin:64px auto 32px;padding-inline:22px;font-size:clamp(30px,4vw,54px);line-height:1.25; }
.ed-portfolio .cw-portfolio-section > .ed-circle { display:flex;margin:0 auto 24px; }
.ed-portfolio .section > .container { display:grid;grid-template-columns:minmax(0,1fr);max-width:1280px;gap:0; }
.ed-portfolio .section > .container > .column { display:grid;grid-template-columns:140px minmax(0,.85fr) minmax(0,1.35fr);gap:var(--ed-gap);border:0;border-top:1px solid #30c4ab;border-radius:0;box-shadow:none;padding:40px 0;min-height:0; }
.ed-portfolio .ed-artifact-art { min-width:0; }
.ed-portfolio .ed-artifact-art > .ed-number { display:flex;justify-content:flex-start;margin-bottom:24px; }
.ed-portfolio .ed-artifact-art .framework-img { width:100%;height:auto;max-height:none;object-fit:contain;margin:0; }
.ed-portfolio .ed-artifact-heading h3,.ed-portfolio .ed-artifact-heading .cw-portfolio-card-title { font:italic 400 clamp(25px,2.8vw,38px)/1.35 "Noto Serif",serif;letter-spacing:-.015em;text-transform:none;text-align:left;margin:0; }
.ed-portfolio .ed-artifact-heading h3 strong { font-weight:inherit; }
.ed-portfolio .ed-artifact-heading h3 br { display:none; }
.ed-portfolio .portfolio-intro { max-width:none; }
.ed-page [id] { scroll-margin-top:110px; }
@media(max-width:850px) {
 .ed-page .ed-row,.ed-visualtools .cw-tools-row { grid-template-columns:24px minmax(0,1fr);gap:14px 18px; }
 .ed-page .ed-row > .ed-copy,.ed-visualtools .cw-tools-row-copy { grid-column:2; }
 .ed-page .ed-feature,.ed-resume .ed-path-intro,.ed-connect .cw-connect-intro,
 .ed-supervision .cw-guide-inner > header,.ed-supervision .cw-guide-inner > section { grid-template-columns:minmax(0,1fr);gap:28px; }
 .ed-resume .ed-path-intro { margin-bottom:40px; }
 .ed-connect .ed-connect-lead { padding:0; }
 .ed-connect .cw-connect-intro .cw-connect-art { grid-column:1;width:100px; }
 .ed-connect .cw-connect-intro .cw-display { max-width:22ch; }
 .ed-supervision .cw-guide-inner > header > * { grid-column:1;grid-row:auto; }
 .ed-supervision .cw-guide-lead { margin-top:0; }
 .ed-supervision .cw-guide-inner > section { padding-block:40px; }
 .ed-portfolio .section > .container > .column { grid-template-columns:80px minmax(0,1fr);gap:20px; }
 .ed-portfolio .column > .ed-copy { grid-column:2; }
 .ed-page .ed-display.cw-display { font-size:clamp(36px,7vw,54px); }
}
@media(max-width:480px) {
 .ed-portfolio .section > .container > .column { grid-template-columns:minmax(0,1fr); }
 .ed-portfolio .column > .ed-copy { grid-column:1; }
 .ed-portfolio .ed-artifact-art { max-width:180px; }
 .ed-page .ed-row .cw-section-title { overflow-wrap:anywhere; }
}
