/* 11 · Operations grid */
.ed-nexus {
    --canvas: #101e2d; --surface: #16283a; --wash: #1b3147; --line: #3c566c;
    --ink: #eef7ff; --muted: #c4d5e4; --accent: #9fddff; --action: #9fddff; --on-action: #112633;
    --radius: 10px; --button-radius: 5px;
}
.ed-nexus .ed-hero {
    display: grid;
    grid-template: "copy art" minmax(430px, 57svh) "nav nav" auto / minmax(0, .8fr) minmax(0, 1.2fr);
    width: min(var(--max),calc(100% - var(--gutter) * 2));
    margin: clamp(24px, 5vw, 60px) auto 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.ed-nexus .ed-cover { grid-area: art; border-left: 1px solid var(--line); }
.ed-nexus .ed-cover img { object-position: 60% 62%; }
.ed-nexus .ed-hero-frame { grid-area: copy; width: 100%; align-self: center; padding: clamp(22px, 4vw, 52px); }
.ed-nexus .ed-hero-nav { grid-area: nav; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.ed-nexus .ed-hero-nav a { padding: 12px clamp(12px, 3vw, 28px); border-inline-end: 1px solid var(--line); }
.ed-nexus .ed-hero-nav a:last-child { border-inline-end: 0; }
.ed-nexus .ed-overview { grid-template-columns: 1fr; }
.ed-nexus .ed-overview .ed-measure > div { padding: 10px 12px 4px; border-left: 2px solid var(--accent); }
.ed-nexus .ed-plans { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.ed-nexus .ed-plan { border-width: 0 0 1px; border-radius: 0; }
.ed-nexus .ed-downloads { grid-template-columns: 1fr 1fr; }
.ed-nexus .ed-inner-cover { border: 1px solid var(--line); }
.ed-nexus .ed-inner-cover > img { border-left: 1px solid var(--line); }

/* 12 · Glass gallery */
.ed-lumen {
    --canvas: #f6f8f1; --surface: #fff; --wash: #e6efe4; --line: #c8d9cd;
    --ink: #20382b; --muted: #455c50; --accent: #315e4e; --action: #315e4e;
    --radius: 26px;
}
.ed-lumen .ed-hero {
    display: grid;
    grid-template-rows: auto auto;
    gap: clamp(20px, 5vw, 46px);
    width: min(var(--max),calc(100% - var(--gutter) * 2));
    margin: auto;
    padding-top: clamp(32px,6vw,76px);
    text-align: center;
}
.ed-lumen .ed-hero-frame { grid-row: 1; width: 100%; }
.ed-lumen .ed-hero-copy { margin-inline: auto; }
.ed-lumen .ed-actions { justify-content: center; }
.ed-lumen .ed-cover {
    grid-row: 2;
    width: min(820px, 100%);
    height: clamp(270px, 45vw, 500px);
    margin-inline: auto;
    border-radius: 25% 25% 36px 36px / 34% 34% 36px 36px;
    background: var(--wash);
}
.ed-lumen .ed-cover img { object-position: 50% 54%; }
.ed-lumen .ed-overview { background: transparent; border-block: 1px solid var(--line); border-radius: 0; }
.ed-lumen .ed-plan { box-shadow: 0 10px 26px #24412e0b; }
.ed-lumen .ed-plan > a { width: 100%; }
.ed-lumen .ed-downloads li { background: transparent; border-style: dashed; }
.ed-lumen .ed-inner-cover { border-radius: 60px 60px 20px 20px; }

/* 13 · Night harbor */
.ed-harbor {
    --canvas: #17233d; --surface: #1f2d4a; --wash: #283757; --line: #536283;
    --ink: #fff4e6; --muted: #d4ddf6; --accent: #ffd7a2; --action: #fbd5a7; --on-action: #35251f;
    --radius: 8px; --button-radius: 8px;
    --heading: "Baskervville", "Songti SC", "SimSun", serif;
}
.ed-harbor .ed-hero { display: grid; align-content: center; min-height: min(780px, 86svh); padding-block: 56px; }
.ed-harbor .ed-cover { position: absolute; inset: 0; z-index: -1; }
.ed-harbor .ed-cover img { object-position: 65% center; }
.ed-harbor .ed-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#11182ef5,#121c38ae 42%,transparent 78%),linear-gradient(0deg,#17233d,transparent 26%); }
.ed-harbor .ed-hero-copy { max-width: 430px; }
.ed-harbor .ed-hero-nav {
    position: absolute;
    right: max(var(--gutter),calc((100% - var(--max)) / 2));
    bottom: clamp(28px,6vw,68px);
    width: min(320px, 42%);
    display: grid;
    gap: 0;
    padding: 4px 20px;
    background: #17233de8;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.ed-harbor .ed-hero-nav a + a { border-top: 1px solid var(--line); }
.ed-harbor .ed-overview { border-left: 3px solid var(--accent); }
.ed-harbor .ed-plan { border-bottom: 4px solid var(--line); }
.ed-harbor .ed-recommended { border-bottom-color: var(--accent); }
.ed-harbor .ed-downloads { grid-template-columns: 1fr; gap: 0; }
.ed-harbor .ed-downloads li { border-width: 0 0 1px; border-radius: 0; }
.ed-harbor .ed-inner-cover { grid-template-columns: 1fr minmax(0,.65fr); }

/* 14 · Cyanotype journal */
.ed-column {
    --canvas: #faf6eb; --surface: #fffdf6; --wash: #ebe6d6; --line: #d2cbb9;
    --ink: #1d3551; --muted: #47586b; --accent: #23486f; --action: #23486f;
    --radius: 0px; --button-radius: 0px;
    --heading: "Baskervville", "Songti SC", "SimSun", serif;
}
.ed-column .ed-hero {
    display: grid;
    grid-template: "copy art" 1fr "nav art" auto / minmax(0,.75fr) minmax(0,1.25fr);
    gap: 20px clamp(24px,5vw,78px);
    width: min(var(--max),calc(100% - var(--gutter) * 2));
    margin: clamp(30px,6vw,76px) auto 0;
    padding-block: 20px;
    border-block: 1px solid var(--line);
}
.ed-column .ed-cover { grid-area: art; min-height: 490px; }
.ed-column .ed-cover img { object-position: center; }
.ed-column .ed-hero-frame { grid-area: copy; width: 100%; align-self: center; }
.ed-column .ed-hero-nav { grid-area: nav; justify-content: space-between; padding-top: 6px; border-top: 1px solid var(--line); }
.ed-column .ed-overview { padding-inline: 0; background: transparent; border-bottom: 1px solid var(--line); }
.ed-column .ed-plan { background: transparent; border-width: 3px 0 1px; }
.ed-column .ed-recommended { background: var(--wash); }
.ed-column .ed-downloads li { background: transparent; border-width: 0 0 1px; }
.ed-column .ed-inner-cover { background: transparent; border-block: 1px solid var(--line); }
.ed-column .ed-inner-cover > div { padding-inline-start: 0; }

/* 15 · Paper forest */
.ed-grove {
    --canvas: #f4ecde; --surface: #fff8ee; --wash: #e5e8d7; --line: #c8cbb3;
    --ink: #273928; --muted: #4c614d; --accent: #35583b; --action: #35583b;
    --radius: 24px;
}
.ed-grove .ed-hero {
    display: grid;
    align-items: center;
    min-height: min(690px, 82svh);
    background: #efd1be;
}
.ed-grove .ed-cover { position: absolute; inset: 0; z-index: -1; }
.ed-grove .ed-cover img { object-position: center 52%; }
.ed-grove .ed-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center,#fff3e0f5 3%,#fff3e0cf 24%,transparent 52%); }
.ed-grove .ed-hero-copy { max-width: 470px; margin-inline: auto; text-align: center; }
.ed-grove .ed-actions { justify-content: center; margin-top: 18px; }
.ed-grove .ed-overview { border-radius: 52px 52px 12px 12px; }
.ed-grove .ed-plans { gap: 22px; }
.ed-grove .ed-plan { border-radius: 46px 46px 14px 14px; }
.ed-grove .ed-downloads li { background: var(--wash); border-color: transparent; }
.ed-grove .ed-inner-cover { border-radius: 46px 46px 14px 14px; }

/* 16 · Poolside studio */
.ed-studio {
    --canvas: #fff9e8; --surface: #fffdf3; --wash: #f9e7a9; --line: #dccb97;
    --ink: #192f4a; --muted: #47556c; --accent: #14578c; --action: #14578c;
    --radius: 16px; --button-radius: 5px;
}
.ed-studio .ed-hero { background: #f7dfa0; min-height: min(720px, 84svh); display: grid; align-content: end; }
.ed-studio .ed-cover { position: absolute; inset: 0; z-index: -1; }
.ed-studio .ed-cover img { object-position: 64% 43%; }
.ed-studio .ed-hero-frame {
    padding: clamp(20px,4vw,48px);
    margin-block: clamp(170px,26vh,260px) 0;
    background: #ffecb3;
    border: 1px solid #e3cd87;
    border-radius: 20px 20px 0 0;
    width: min(610px,calc(100% - var(--gutter) * 2));
    margin-left: max(var(--gutter),calc((100% - var(--max)) / 2));
}
.ed-studio .ed-hero-nav {
    width: min(610px,calc(100% - var(--gutter) * 2));
    margin-left: max(var(--gutter),calc((100% - var(--max)) / 2));
    padding: 2px clamp(20px,4vw,48px);
    background: var(--action);
    border-radius: 0 0 20px 20px;
    margin-bottom: clamp(16px,5vh,52px);
}
.ed-studio .ed-hero-nav a { color: #fff; width: 100%; }
.ed-studio .ed-overview { border-block: 1px solid var(--line); }
.ed-studio .ed-plan .ed-measure { background: var(--canvas); border: 0; border-radius: 10px; padding: 12px; }
.ed-studio .ed-plan > a { width: 100%; }
.ed-studio .ed-download-section { background: var(--wash); border-radius: var(--radius); padding: clamp(14px,3vw,36px); }
.ed-studio .ed-inner-cover { background: var(--wash); }

/* 17 · Graphite industrial */
.ed-slate {
    --canvas: #27262a; --surface: #302f34; --wash: #403a3a; --line: #6a5b5b;
    --ink: #fff3ec; --muted: #e2cfc7; --accent: #ffb499; --action: #ffb499; --on-action: #392522;
    --radius: 0px; --button-radius: 0px;
}
.ed-slate .ed-hero {
    display: grid;
    grid-template: "art copy" 1fr "art nav" auto / minmax(0,1.18fr) minmax(0,.82fr);
    min-height: min(720px, 84svh);
    background: #302b2d;
}
.ed-slate .ed-cover { grid-area: art; }
.ed-slate .ed-cover img { object-position: 70% center; }
.ed-slate .ed-hero-frame { grid-area: copy; width: 100%; padding: clamp(26px,5vw,72px); align-self: center; }
.ed-slate .ed-hero-nav { grid-area: nav; padding: 12px clamp(26px,5vw,72px); border-top: 1px solid var(--line); }
.ed-slate .ed-overview { grid-template-columns: 1fr; background: transparent; padding-inline: 0; border-block: 1px solid var(--line); }
.ed-slate .ed-plans { gap: 2px; background: var(--line); border: 2px solid var(--line); }
.ed-slate .ed-plan { border: 0; border-top: 3px solid transparent; }
.ed-slate .ed-recommended { border-top-color: var(--accent); }
.ed-slate .ed-downloads li { border-width: 1px 0; }
.ed-slate .ed-inner-cover { grid-template-columns: minmax(0,.55fr) minmax(0,1fr); }
.ed-slate .ed-inner-cover > img { grid-column: 1; }
.ed-slate .ed-inner-cover > div { grid-column: 2; }

/* 18 · Alpine panorama */
.ed-horizon {
    --canvas: #edf4f5; --surface: #fff; --wash: #dce9ec; --line: #c4d5d9;
    --ink: #1e3344; --muted: #465a6a; --accent: #18596b; --action: #18596b;
    --radius: 14px;
}
.ed-horizon .ed-hero { display: grid; align-items: start; min-height: min(780px, 86svh); }
.ed-horizon .ed-cover { position: absolute; inset: 0; z-index: -1; }
.ed-horizon .ed-cover img { object-position: 76% 56%; }
.ed-horizon .ed-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg,#eff7fbd9 0%,#eff7fbb3 27%,transparent 61%); }
.ed-horizon .ed-hero-frame { padding-top: clamp(74px,19vh,184px); padding-bottom: 76px; }
.ed-horizon .ed-hero-copy { max-width: 440px; }
.ed-horizon .ed-overview { position: relative; margin-top: calc(0px - clamp(98px,13vw,156px)); box-shadow: 0 12px 36px #20495919; background: var(--surface); }
.ed-horizon .ed-overview .ed-measure > div { padding-left: 11px; border-left: 1px solid var(--line); }
.ed-horizon .ed-plan { border-width: 1px 1px 4px; }
.ed-horizon .ed-recommended { border-bottom-color: var(--accent); }
.ed-horizon .ed-downloads li { background: var(--wash); }
.ed-horizon .ed-inner-cover { position: relative; isolation: isolate; grid-template-columns: 1fr; }
.ed-horizon .ed-inner-cover > img { position: absolute; inset: 0; z-index: -2; max-height: none; object-position: 75% 44%; }
.ed-horizon .ed-inner-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#edf4f5fa 20%,#edf4f5bf 53%,transparent 92%); z-index: -1; }

/* 19 · Stone atelier */
.ed-atelier {
    --canvas: #f6efe1; --surface: #fff7eb; --wash: #ead9c4; --line: #ccb79e;
    --ink: #4a3024; --muted: #655044; --accent: #804529; --action: #804529;
    --radius: 9px; --button-radius: 5px;
    --heading: "Baskervville", "Songti SC", "SimSun", serif;
}
.ed-atelier .ed-hero {
    display: grid;
    width: min(var(--max),calc(100% - var(--gutter) * 2));
    grid-template: "art art" clamp(330px,53vw,540px) "copy nav" auto / minmax(0,1fr) minmax(0,.35fr);
    margin: clamp(28px,5vw,54px) auto 0;
    align-items: end;
    column-gap: 24px;
}
.ed-atelier .ed-cover { grid-area: art; height: 100%; }
.ed-atelier .ed-cover img { object-position: 50% 52%; }
.ed-atelier .ed-hero-frame { grid-area: copy; width: 100%; padding-top: 24px; }
.ed-atelier .ed-hero-copy { max-width: 650px; }
.ed-atelier .ed-hero-nav { grid-area: nav; padding-block: 10px; justify-content: end; }
.ed-atelier .ed-overview { border-top: 3px solid var(--accent); border-radius: 0; }
.ed-atelier .ed-plans { grid-template-columns: 1fr; }
.ed-atelier .ed-plan { border-left: 4px solid var(--line); }
.ed-atelier .ed-recommended { border-left-color: var(--accent); }
.ed-atelier .ed-plan > .ed-button { align-self: end; }
.ed-atelier .ed-downloads { grid-template-columns: repeat(auto-fit,minmax(min(210px,100%),1fr)); }
.ed-atelier .ed-downloads li { grid-template-columns: auto 1fr; }
.ed-atelier .ed-downloads li a { grid-column: 2; }
.ed-atelier .ed-inner-cover > img { object-position: 64% center; }

/* 20 · Circuit field */
.ed-circuit {
    --canvas: #142520; --surface: #1b3028; --wash: #233c30; --line: #466354;
    --ink: #f1f8e8; --muted: #ccdcd1; --accent: #c9f695; --action: #c9f695; --on-action: #1e311b;
    --radius: 6px; --button-radius: 4px;
}
.ed-circuit .ed-hero {
    display: grid;
    grid-template: "copy nav" minmax(460px,66svh) / minmax(0,1.35fr) minmax(0,.65fr);
    isolation: isolate;
    width: min(var(--max),calc(100% - var(--gutter) * 2));
    margin: clamp(25px,5vw,58px) auto 0;
    border: 1px solid var(--line);
    background: #182d23;
    overflow: hidden;
}
.ed-circuit :is(.ed-cover,.ed-inner-art) {
    background-image: radial-gradient(circle at 1px 1px,#a5e7a04f 1px,transparent 1.5px), radial-gradient(ellipse at 86% 42%,#27814aee,#143021d1 48%,#182d23 76%);
    background-size: 19px 19px, 100% 100%;
}
.ed-circuit .ed-cover { position: absolute; inset: 0; z-index: -1; }
.ed-circuit .ed-cover::after, .ed-circuit .ed-inner-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-radial-gradient(circle at 87% 46%, transparent 0 38px,#b7e78f56 39px 40px,transparent 42px 70px);
    mask-image: linear-gradient(90deg,transparent 10%,black);
}
.ed-circuit .ed-hero-frame { grid-area: copy; width: 100%; align-self: center; padding: clamp(22px,6vw,80px); }
.ed-circuit .ed-hero-copy { padding: 20px 0 20px clamp(13px,2vw,22px); border-left: 3px solid var(--action); }
.ed-circuit .ed-hero-nav { grid-area: nav; justify-content: center; flex-flow: column nowrap; gap: 0; padding: clamp(16px,3vw,40px); background: #142520c9; border-left: 1px solid var(--line); }
.ed-circuit .ed-hero-nav a + a { border-top: 1px solid var(--line); }
.ed-circuit .ed-overview { background: transparent; border: 1px solid var(--line); }
.ed-circuit .ed-plan { border-top: 4px solid var(--line); }
.ed-circuit .ed-recommended { border-top-color: var(--accent); }
.ed-circuit .ed-downloads li { background: var(--wash); }
.ed-circuit .ed-inner-art { position: relative; grid-area: 1 / 2; align-self: stretch; }
.ed-circuit .ed-inner-cover > div:not(.ed-inner-art) { grid-area: 1 / 1; }
.ed-circuit .ed-inner-cover > .ed-inner-art { grid-area: 1 / 2; padding: 0; }

@media (min-width: 860px) {
    .ed-nexus .ed-plan {
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,.65fr) minmax(0,1.05fr) auto;
        align-items: center;
        column-gap: 18px;
    }
    .ed-nexus .ed-plan > .ed-button { grid-column: 4; grid-row: 1; margin: 0; }
    .ed-nexus .ed-plan .ed-measure { grid-column: 3; grid-row: 1 / span 2; padding: 0; border: 0; }
    .ed-nexus .ed-plan .ed-disclosure { grid-column: 1 / 3; }
    .ed-atelier .ed-plan { display: grid; grid-template-columns: 1fr minmax(0,.8fr); align-items: start; }
    .ed-atelier .ed-plan > .ed-price { justify-self: end; }
    .ed-atelier .ed-plan .ed-measure { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .ed-atelier .ed-plan > .ed-button { grid-column: 2; justify-self: end; }
}
@media (max-width: 720px) {
    .ed-nexus .ed-hero { grid-template: "art" clamp(170px, 52vw, 280px) "copy" auto "nav" auto / minmax(0,1fr); }
    .ed-nexus .ed-cover { border-left: 0; border-bottom: 1px solid var(--line); }
    .ed-nexus .ed-hero-nav { grid-template-columns: 1fr; }
    .ed-nexus .ed-hero-nav a { border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .ed-nexus .ed-hero-nav a:last-child { border-bottom: 0; }
    .ed-nexus .ed-downloads { grid-template-columns: 1fr; }
    .ed-lumen .ed-cover { height: clamp(220px, 69vw, 360px); }
    .ed-harbor .ed-hero { align-content: end; min-height: 73svh; padding-block: clamp(156px,29svh,270px) 24px; }
    .ed-harbor .ed-cover img { object-position: 70% center; }
    .ed-harbor .ed-cover::after { background: linear-gradient(0deg,#17233d 4%,#17233dc9 41%,transparent 85%); }
    .ed-harbor .ed-hero-nav { position: relative; inset: auto; margin: 14px auto 0; width: calc(100% - var(--gutter) * 2); }
    .ed-column .ed-hero { grid-template: "copy" auto "art" auto "nav" auto / minmax(0,1fr); gap: 18px; }
    .ed-column .ed-cover { min-height: 0; height: clamp(230px,75vw,370px); }
    .ed-column .ed-hero-nav { gap: 2px 14px; }
    .ed-grove .ed-hero { min-height: 0; align-items: end; grid-template-rows: clamp(230px,70vw,360px) auto; }
    .ed-grove .ed-cover { grid-row: 1; position: relative; inset: unset; height: 100%; }
    .ed-grove .ed-cover::after { background: linear-gradient(0deg,#efd1be,transparent 18%); }
    .ed-grove .ed-hero-frame { grid-row: 2; padding-block: 12px 32px; }
    .ed-studio .ed-hero { min-height: 66svh; }
    .ed-studio .ed-hero-frame { margin-top: max(180px,34svh); }
    .ed-slate .ed-hero { grid-template: "art" clamp(240px,68vw,400px) "copy" auto "nav" auto / minmax(0,1fr); min-height: 0; }
    .ed-slate .ed-hero-nav { padding-block: 5px; }
    .ed-horizon .ed-hero { min-height: 66svh; }
    .ed-horizon .ed-cover img { object-position: 65% center; }
    .ed-horizon .ed-cover::after { background: linear-gradient(185deg,#edf4f5f5 5%,#edf4f5bd 47%,transparent 78%); }
    .ed-horizon .ed-hero-frame { padding-top: 44px; }
    .ed-horizon .ed-overview { margin-top: -94px; }
    .ed-atelier .ed-hero { grid-template: "art" clamp(200px,67vw,355px) "copy" auto "nav" auto / minmax(0,1fr); gap: 12px; }
    .ed-atelier .ed-hero-frame { padding-top: 6px; }
    .ed-atelier .ed-hero-nav { justify-content: start; padding: 0; }
    .ed-circuit .ed-hero { grid-template: "copy" minmax(300px, 54svh) "nav" auto / minmax(0,1fr); }
    .ed-circuit .ed-hero-nav { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 460px) {
    .ed-slate .ed-inner-cover { grid-template-columns: minmax(0,.3fr) minmax(0,1fr) !important; }
    .ed-horizon .ed-inner-cover { grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-width: 360px) {
    .ed-grove .ed-hero, .ed-slate .ed-hero { grid-template-rows:clamp(165px,29svh,215px) auto; }
    .ed-atelier .ed-hero { grid-template-rows:clamp(160px,28svh,210px) auto auto; }
}
