:root {
    --navy: #062B50;
    --navy-deep: #041E38;
    --navy-soft: #0B3A66;
    --crystal: #8FD9E4;
    --crystal-deep: #5EC4D4;
    --crystal-soft: #D7F3F7;
    --green: #59A83F;
    --green-deep: #3F7D2E;
    --bg: #F7FBFC;
    --bg-elevated: rgba(255, 255, 255, 0.72);
    --text: #111111;
    --text-muted: #111111;
    --text-soft: #111111;
    --line: rgba(6, 43, 80, 0.08);
    --glass-stroke: rgba(255, 255, 255, 0.72);
    --glass-fill: rgba(255, 255, 255, 0.58);
    --radius: 24px;
    --radius-sm: 16px;
    --radius-pill: 999px;
    --blur: 22px;
    --shadow-1: 0 1px 2px rgba(6, 43, 80, 0.04), 0 10px 28px rgba(6, 43, 80, 0.05);
    --shadow-2: 0 2px 6px rgba(6, 43, 80, 0.04), 0 18px 48px rgba(6, 43, 80, 0.08);
    --shadow-nav: 0 8px 32px rgba(6, 43, 80, 0.08);
    --max: 1180px;
    --font-serif: "Montserrat", sans-serif;
    --font-sans: "Montserrat", sans-serif;
    --font-edit: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
    scrollbar-width: thin;
    scrollbar-color: rgba(89, 168, 63, 0.42) rgba(247, 251, 252, 0.28);
}

/* Slim crystal-glass scrollbar: icy track + translucent green thumb */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(89, 168, 63, 0.42) rgba(247, 251, 252, 0.28);
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(247, 251, 252, 0.12) 100%
    );
    border-left: 1px solid rgba(255, 255, 255, 0.32);
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(143, 217, 228, 0.28) 28%,
            rgba(89, 168, 63, 0.48) 62%,
            rgba(63, 125, 46, 0.32) 100%
        ),
        linear-gradient(
            180deg,
            rgba(143, 217, 228, 0.42) 0%,
            rgba(89, 168, 63, 0.4) 45%,
            rgba(89, 168, 63, 0.34) 100%
        );
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    background-clip: padding-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 0 6px rgba(143, 217, 228, 0.28),
        0 0 8px rgba(89, 168, 63, 0.16);
}

::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(215, 243, 247, 0.42) 26%,
            rgba(89, 168, 63, 0.62) 60%,
            rgba(63, 125, 46, 0.4) 100%
        ),
        linear-gradient(
            180deg,
            rgba(143, 217, 228, 0.55) 0%,
            rgba(89, 168, 63, 0.55) 50%,
            rgba(94, 196, 212, 0.38) 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 0 8px rgba(215, 243, 247, 0.4),
        0 0 12px rgba(89, 168, 63, 0.32);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

body.cets-body {
    position: relative;
    font-family: var(--font-sans);
    background: transparent;
    color: var(--text);
    line-height: 1.62;
    letter-spacing: -0.011em;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
}

body.cets-body a:not(.btn):not(.cets-nav-cta) {
    color: inherit;
}

body.cets-body a.btn-navy,
body.cets-body a.cets-nav-cta {
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font: inherit;
}

.cets-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(980px 560px at 88% 6%, rgba(143, 217, 228, 0.38), transparent 58%),
        radial-gradient(820px 520px at 8% 0%, rgba(255, 255, 255, 0.55), transparent 52%),
        radial-gradient(720px 480px at 70% 80%, rgba(143, 217, 228, 0.16), transparent 60%),
        linear-gradient(180deg, #EAF7FA 0%, #F4FBFD 42%, #E8F4F8 100%);
}

.cets-hero-sky {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: min(1180px, 128vh);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 0 58%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0 58%, transparent 100%);
}

.cets-hero-sky::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/hero-cambridge.jpg") 70% 45% / cover no-repeat;
}

.cets-hero-sky::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(234, 247, 250, 0.08) 0%, rgba(234, 247, 250, 0.2) 55%, rgba(232, 244, 248, 0.72) 82%, #E8F4F8 100%),
        linear-gradient(90deg, rgba(247, 251, 252, 0.42) 0%, rgba(247, 251, 252, 0.1) 28%, transparent 48%);
}

body.cets-tree-page .cets-atmosphere {
    background:
        radial-gradient(720px 480px at 50% 42%, rgba(143, 217, 228, 0.16), transparent 62%),
        radial-gradient(560px 360px at 50% 58%, rgba(127, 207, 136, 0.08), transparent 58%),
        linear-gradient(180deg, #F3F8F6 0%, #F4F9F7 52%, #F3F8F6 100%);
}

body.cets-tree-page .cets-hero-sky {
    display: none;
}

.cets-photo-wash {
    position: absolute;
    left: 0;
    width: 100%;
    height: min(1120px, 118vh);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 82%, transparent 100%);
}

.cets-photo-wash::before {
    content: "";
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.28);
    transform-origin: center;
    opacity: 0.34;
    filter: blur(2.4px) saturate(0.7) contrast(0.98) brightness(1.06);
}

.cets-photo-wash::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(89, 168, 63, 0.055), rgba(89, 168, 63, 0.02) 42%, transparent 78%),
        radial-gradient(ellipse at 50% 48%, rgba(143, 217, 228, 0.08), transparent 70%),
        linear-gradient(180deg, rgba(247, 251, 252, 0.18) 0%, rgba(234, 247, 250, 0.06) 28%, rgba(234, 247, 250, 0.05) 68%, rgba(247, 251, 252, 0.22) 100%),
        linear-gradient(90deg, rgba(247, 251, 252, 0.12) 0%, transparent 42%, rgba(232, 244, 248, 0.1) 100%);
}

.cets-photo-wash-home-1::before {
    background-image: url("../images/bg-talk-1.jpg");
    background-position: 48% 36%;
    opacity: 0.34;
}

.cets-photo-wash-home-2::before {
    background-image: url("../images/bg-talk-2.jpg");
    background-position: 58% 28%;
    opacity: 0.32;
    filter: blur(2.4px) saturate(0.66) contrast(0.98) brightness(1.06);
}

.cets-photo-wash-home-3::before {
    background-image: url("../images/bg-talk-3.jpg");
    background-position: 50% 58%;
    opacity: 0.33;
}

.cets-photo-wash-events {
    position: fixed;
    top: 8vh;
    height: 86vh;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
}

.cets-photo-wash-events::before {
    background-image: url("../images/bg-talk-2.jpg");
    background-position: 50% 26%;
    opacity: 0.3;
    filter: blur(2.4px) saturate(0.66) contrast(0.98) brightness(1.06);
}

.cets-photo-wash-tree {
    position: fixed;
    top: 28vh;
    height: 72vh;
    z-index: 1;
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
}

.cets-photo-wash-tree::before {
    background-image: url("../images/bg-talk-3.jpg");
    background-position: 50% 48%;
    opacity: 0.3;
    filter: blur(2.4px) saturate(0.66) contrast(0.98) brightness(1.06);
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    position: relative;
    z-index: 1;
    padding: 72px 0;
    scroll-margin-top: 96px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--crystal-deep);
}

.display {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.12;
    color: #111111;
}

.display em {
    font-style: normal;
    color: var(--green);
}

.lede {
    color: var(--navy);
    font-size: 1.02rem;
    max-width: 40rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.6;
}

.frost-copy {
    position: relative;
    z-index: 1;
}

.frost-copy::before {
    content: "";
    position: absolute;
    inset: -14px -22px -14px -18px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.28) 100%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 22px;
    z-index: -1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
}

.section-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.1vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    color: #111111;
    white-space: nowrap;
}

.link-more:hover {
    color: var(--green-deep);
}

.glass {
    background: var(--glass-fill);
    border: 1px solid var(--glass-stroke);
    box-shadow: var(--shadow-1);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}

/* Navigation */
main {
    position: relative;
    z-index: 2;
}

.cets-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0 4px;
}

.cets-nav {
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto;
    min-height: 68px;
    padding: 10px 12px 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 8px 28px rgba(6, 43, 80, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.cets-nav:hover {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 0 0 1px rgba(143, 217, 228, 0.28),
        0 0 28px rgba(143, 217, 228, 0.32),
        0 10px 36px rgba(6, 43, 80, 0.06);
}

.cets-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.cets-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px rgba(143, 217, 228, 0.35);
}

.cets-brand-name {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #111111;
}

.cets-brand-name em {
    font-style: normal;
    color: var(--green);
    display: block;
}

.cets-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.cets-nav-links a {
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 11px;
    border-radius: var(--radius-pill);
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cets-nav-links a:hover,
.cets-nav-links a.is-active {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.42);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55),
        0 0 18px rgba(143, 217, 228, 0.45),
        0 0 32px rgba(255, 255, 255, 0.28);
}

.cets-nav-links a.is-active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 4px;
    height: 2px;
    border-radius: 99px;
    background: var(--green);
}

.cets-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3B88B0;
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 20px rgba(43, 120, 160, 0.18);
    flex-shrink: 0;
}

.cets-nav-cta:hover {
    background: #4A97BE;
    box-shadow:
        0 0 0 1px rgba(143, 217, 228, 0.35),
        0 0 22px rgba(143, 217, 228, 0.4),
        0 8px 20px rgba(43, 120, 160, 0.18);
}

.cets-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(6, 43, 80, 0.1);
    background: #fff;
    border-radius: 50%;
    margin-left: auto;
    cursor: pointer;
    position: relative;
}

.cets-nav-toggle span,
.cets-nav-toggle span::before,
.cets-nav-toggle span::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--navy);
    border-radius: 99px;
    position: absolute;
    left: 13px;
}

.cets-nav-toggle span {
    top: 20px;
}

.cets-nav-toggle span::before,
.cets-nav-toggle span::after {
    content: "";
}

.cets-nav-toggle span::before {
    top: -5px;
}

.cets-nav-toggle span::after {
    top: 5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-navy {
    background: #3B88B0;
    color: #fff;
    box-shadow: 0 10px 24px rgba(43, 120, 160, 0.18);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    box-shadow: var(--shadow-1);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero */
.hero {
    position: relative;
    padding: 18px 0 8px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: -16px -28px -10px -20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.1) 55%, rgba(255, 255, 255, 0) 100%);
    border: 0;
    border-radius: 28px;
    z-index: -1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-copy h1 {
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    max-width: 12ch;
    color: #111111;
}

.hero-copy .eyebrow {
    color: #111111;
}

.hero-copy .lede {
    margin: 14px 0 18px;
    font-size: 1.02rem;
    color: #111111;
    font-weight: 500;
}

.hero-aside {
    position: relative;
    min-height: 340px;
    display: grid;
    place-items: center;
}

.orb {
    width: min(318px, 60vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.55) 0 12%, rgba(255, 255, 255, 0.12) 28%, rgba(255, 255, 255, 0.04) 58%, rgba(143, 217, 228, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        0 18px 48px rgba(6, 43, 80, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35),
        inset 10px 14px 28px rgba(255, 255, 255, 0.28),
        inset -16px -22px 36px rgba(94, 196, 212, 0.16),
        inset -8px -10px 22px rgba(180, 120, 255, 0.08);
    backdrop-filter: blur(10px) saturate(1.35);
    -webkit-backdrop-filter: blur(10px) saturate(1.35);
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.orb-plate {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        conic-gradient(from 210deg, rgba(143, 217, 228, 0.55), rgba(255, 255, 255, 0.05) 18%, rgba(167, 139, 250, 0.35) 38%, rgba(255, 255, 255, 0.08) 55%, rgba(89, 168, 63, 0.28) 72%, rgba(94, 196, 212, 0.4) 88%, rgba(143, 217, 228, 0.55));
    -webkit-mask: radial-gradient(circle, transparent 62%, #000 68%, #000 76%, transparent 80%);
    mask: radial-gradient(circle, transparent 62%, #000 68%, #000 76%, transparent 80%);
    opacity: 0.85;
    pointer-events: none;
}

.orb-logo {
    width: 84%;
    height: 84%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    background: #e8f1f6;
    filter: none;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.55),
        0 10px 28px rgba(6, 43, 80, 0.14);
}

.orb-spec {
    position: absolute;
    width: 38%;
    height: 18%;
    top: 10%;
    left: 16%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.35) 42%, transparent 72%);
    filter: blur(3px);
    pointer-events: none;
    z-index: 3;
}

.orb::before,
.orb::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb::before {
    inset: -28px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.12);
}

.orb::after {
    width: 14%;
    height: 9%;
    top: 22%;
    right: 18%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
    filter: blur(2px);
}

.bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.18) 36%, rgba(143, 217, 228, 0.16) 100%);
    box-shadow:
        inset 0 1px 8px rgba(255, 255, 255, 0.85),
        inset -4px -6px 10px rgba(143, 217, 228, 0.18),
        0 8px 18px rgba(6, 43, 80, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.bubble-a { width: 54px; height: 54px; top: 8%; right: 8%; }
.bubble-b { width: 28px; height: 28px; top: 22%; left: 8%; }
.bubble-c { width: 18px; height: 18px; bottom: 22%; right: 14%; }
.bubble-d { width: 36px; height: 36px; bottom: 12%; left: 16%; opacity: 0.8; }

.hero-note {
    display: none;
}

.hero-globe {
    position: absolute;
    inset: 4% 0 auto auto;
    width: 280px;
    opacity: 0.22;
    pointer-events: none;
}

/* Impact */
.impact {
    margin: 22px 0 8px;
}

.impact-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr) minmax(180px, 0.9fr);
    align-items: center;
    padding: 10px 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(6, 43, 80, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.impact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 6px 10px;
}

.impact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(143, 217, 228, 0.18);
    color: var(--navy);
    flex-shrink: 0;
}

.impact-item strong {
    display: block;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.impact-item span {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.impact-aside {
    padding: 0 28px;
    border-left: 1px solid var(--line);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
    line-height: 1.5;
}

/* Featured */
.featured-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.9fr;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-decoration: none;
    min-height: 340px;
}

.featured-visual,
.featured-photo {
    min-height: 340px;
    background: #061018 center/cover no-repeat;
}

.featured-visual {
    background-position: center top;
}

.featured-visual {
    display: grid;
    align-content: end;
    padding: 28px;
    color: #f4f7ea;
}

.featured-visual strong {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 4.6rem);
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: #e8f38a;
}

.featured-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-body .tag {
    margin-bottom: 14px;
}

.featured-body h3 {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.featured-meta {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.featured-body p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.featured-photo {
    display: block;
}

.featured-card a.featured-body,
.featured-card a.featured-visual {
    text-decoration: none;
    color: inherit;
}

.featured-card a.featured-3d {
    text-decoration: none;
    color: inherit;
}

.featured-3d {
    position: relative;
    min-height: 340px;
    background: #061018;
    overflow: hidden;
    display: block;
}

.featured-3d img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

.featured-3d-manifest {
    background: #000;
    display: grid;
    place-items: center;
}

.featured-3d-manifest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #000;
}

.featured-3d-bar {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #D7F3F7;
    color: #0B3A66;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(6, 43, 80, 0.12);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.featured-3d:hover .featured-3d-bar,
.featured-3d:focus-within .featured-3d-bar,
.featured-3d.show-bar .featured-3d-bar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.library-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    min-height: 52px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #0B3A66;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.015em;
}

.library-link:hover {
    background: #D7F3F7;
}

/* Project cards */
.tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: rgba(6, 43, 80, 0.05);
    border: 1px solid rgba(6, 43, 80, 0.08);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
}

.tag-green {
    background: rgba(89, 168, 63, 0.1);
    border-color: rgba(89, 168, 63, 0.16);
    color: var(--green-deep);
}

.tag-crystal {
    background: rgba(143, 217, 228, 0.22);
    border-color: rgba(94, 196, 212, 0.2);
}

.project-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
}

.flagship-card,
.standard-card,
.compact-card {
    display: flex;
    background: rgba(255, 255, 255, 0.58);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flagship-card:hover,
.standard-card:hover,
.compact-card:hover,
.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2);
}

.flagship-card {
    flex-direction: column;
    min-height: 100%;
}

.flagship-media {
    position: relative;
    min-height: 280px;
    background: #041627 center/cover no-repeat;
    color: #fff;
}

.flagship-media.is-dim::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 22, 39, 0.05), rgba(4, 22, 39, 0.45));
}

.flagship-media-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 280px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flagship-wordmark {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.flagship-wordmark span {
    color: var(--crystal);
}

.flagship-body {
    padding: 24px 26px 26px;
}

.flagship-body h3,
.standard-card h3,
.compact-card h3 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    margin: 8px 0 10px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.flagship-body p,
.standard-card p,
.compact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-go {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-left: auto;
    color: var(--navy);
}

.standard-card,
.compact-card {
    align-items: stretch;
}

.standard-card {
    flex-direction: column;
}

.standard-card .media,
.compact-card .media {
    min-height: 150px;
    background: #0b1f33 center/cover no-repeat;
}

.standard-card .body,
.compact-card .body {
    padding: 20px 22px 22px;
}

.stack {
    display: grid;
    gap: 16px;
}

.compact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.compact-card {
    flex-direction: column;
}

.compact-card h3 {
    font-size: 1.25rem;
}

/* Events page */
.page-hero {
    padding: 18px 0 8px;
}

.page-hero .eyebrow {
    margin-bottom: 8px;
}

.page-hero h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    white-space: nowrap;
    line-height: 1.15;
}

.page-hero-aside {
    display: none;
}

.page-events .cets-hero-sky {
    display: none;
}

.page-mark {
    position: absolute;
    top: 36px;
    right: -2%;
    width: min(560px, 46vw);
    height: 560px;
    z-index: 0;
    pointer-events: none;
}

.page-mark-home {
    top: auto;
    right: -4%;
    margin-top: 8px;
    opacity: 0.9;
}

.page-mark-globe {
    position: absolute;
    inset: 0;
    opacity: 0.55;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 28px;
}

.filter-btn {
    border: 0;
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--text-muted);
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(6, 43, 80, 0.04);
    backdrop-filter: blur(12px);
}

.filter-btn.is-active,
.filter-btn:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.bento {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
}

.bento-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

.bento-side .standard-card,
.bento-side .compact-row {
    flex: 1 1 auto;
}

.bento-side .standard-card .media,
.bento-side .compact-card .media {
    flex: 1 1 auto;
}

.bento-side .standard-card .body,
.bento-side .compact-card .body {
    flex: 0 0 auto;
}

.bento-side .compact-card {
    height: 100%;
}

.hackathon-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

.hackathon-stack .flagship-card {
    flex: 1 1 auto;
    min-height: min-content;
    display: flex;
    flex-direction: column;
}

.hackathon-stack .flagship-media,
.hackathon-stack .flagship-media-inner {
    flex: 1 1 auto;
    min-height: 132px;
}

.hackathon-stack .flagship-body {
    flex: 0 0 auto;
    padding: 16px 20px 18px;
}

.events-more {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

[data-category].is-hidden {
    display: none;
}

/* Innovation module */
.idea-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.idea-copy h2 {
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    margin-bottom: 18px;
}

.idea-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 22px;
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}

.idea-panel {
    position: relative;
    padding: 34px 28px 28px 32px;
    border-radius: 28px;
    min-height: 380px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 12px;
    align-items: center;
}

.idea-copy-card {
    position: relative;
    z-index: 1;
}

.idea-panel h3 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    letter-spacing: -0.03em;
    max-width: 14ch;
}

.idea-panel p {
    margin: 12px 0 22px;
    color: var(--text-muted);
    max-width: 28ch;
}

.tree-art {
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    display: block;
}

.tree-art .branch {
    fill: none;
    stroke: url(#treeStroke);
    stroke-width: 3;
    stroke-linecap: round;
}

.tree-art .node {
    fill: #fff;
    stroke: #5EC4D4;
    stroke-width: 2.4;
    filter: drop-shadow(0 6px 12px rgba(94, 196, 212, 0.28));
}

.tree-art .leaf {
    font-size: 12px;
    fill: #111111;
    font-family: var(--font-sans);
}

/* Community */
.community-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.community-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.1vw, 2.55rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.community-head p {
    color: var(--text-muted);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.channel-card {
    padding: 20px 18px 18px;
    border-radius: 22px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.channel-card img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 14px;
    margin: 14px 0 16px;
    background: #fff;
}

.channel-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
}

.channel-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 4px 0 16px;
}

.channel-card span {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 600;
}

/* Partners */
.partners-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
}

.partners-section .wrap {
    position: relative;
    z-index: 1;
}

.cets-photo-wash-collab {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 0;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.cets-photo-wash-collab::before {
    background-image: url("../images/bg-collab.jpg");
    background-position: 50% 62%;
    background-size: cover;
    transform: scale(1.12);
    opacity: 0.22;
    filter: blur(2.6px) saturate(0.64) contrast(0.96) brightness(1.1);
}

.partners-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.78fr) minmax(420px, 1.22fr);
    gap: 56px;
    align-items: center;
    scroll-margin-top: 96px;
}

.partners-copy .eyebrow {
    margin-bottom: 16px;
    white-space: nowrap;
}

.partners-copy h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4.6vw, 3.9rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.98;
    max-width: 8ch;
}

.partners-copy p {
    margin: 20px 0 28px;
    max-width: 32ch;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.partners-glass {
    padding: 10px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 16px 40px rgba(6, 43, 80, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.partners-shot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
}

.pdf-wrap {
    margin-top: 36px;
    scroll-margin-top: 96px;
}

.pdf-frame {
    padding: 22px 0 0;
    overflow: hidden;
    border-radius: 28px;
}

.pdf-frame-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    padding: 0 22px;
}

.pdf-frame-head h3 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    margin: 6px 0 8px;
}

.pdf-frame-head p {
    color: var(--text-muted);
    max-width: none;
    font-size: 0.95rem;
}

.pdf-stage {
    position: relative;
    display: block;
    outline: none;
}

.pdf-stage:focus-visible .pdf-page {
    box-shadow: 0 0 0 3px rgba(143, 217, 228, 0.55);
}

.pdf-page {
    position: relative;
    width: 100%;
    min-height: 0;
    display: block;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    border: 0;
    box-shadow: none;
}

.pdf-canvas,
.pdf-slide {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
}

.pdf-slide {
    object-fit: contain;
}

.pdf-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: var(--navy);
    box-shadow: 0 14px 32px rgba(6, 43, 80, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: grid;
    place-items: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.pdf-nav svg {
    width: 42px;
    height: 42px;
    stroke-width: 2.6;
}

.pdf-nav:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.06);
    background: #fff;
}

.pdf-nav:disabled {
    opacity: 0.28;
    cursor: default;
}

.pdf-nav-prev {
    left: 14px;
}

.pdf-nav-next {
    right: 14px;
}

.pdf-indicator {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 2;
    transform: translateX(-50%);
    pointer-events: none;
    min-width: 72px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 20px rgba(6, 43, 80, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
}

.pdf-status,
.pdf-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 28px 64px;
    color: var(--text-muted);
    text-align: center;
}

.pdf-canvas[hidden],
.pdf-slide[hidden],
.pdf-status[hidden],
.pdf-fallback[hidden] {
    display: none !important;
}

.pdf-status.is-error,
.pdf-fallback {
    background: rgba(247, 251, 252, 0.55);
}

@media (max-width: 820px) {
    .pdf-nav {
        top: auto;
        bottom: 10px;
        transform: none;
        width: 40px;
        height: 40px;
    }

    .pdf-nav svg {
        width: 22px;
        height: 22px;
    }

    .pdf-nav:hover:not(:disabled) {
        transform: scale(1.06);
    }

    .pdf-nav-prev {
        left: 8px;
    }

    .pdf-nav-next {
        right: 8px;
    }

    .pdf-indicator {
        bottom: 14px;
    }

    .pdf-status,
    .pdf-fallback {
        padding: 24px 56px;
    }
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.logo-chip {
    height: 84px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    padding: 12px;
}

.logo-chip img {
    max-width: 78%;
    max-height: 42px;
    object-fit: contain;
    filter: grayscale(1) contrast(0.85);
    opacity: 0.72;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-chip:hover img {
    filter: none;
    opacity: 1;
}

.logo-row + .logo-row {
    margin-top: 12px;
}

/* Footer */
.cets-footer {
    position: relative;
    z-index: 1;
    margin: 28px 0 20px;
    background: transparent;
    color: #111111;
    border: 0;
    scroll-margin-top: 96px;
}

.cets-footer-inner {
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto;
    padding: 12px 18px;
    min-height: 68px;
    scroll-margin-top: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 8px 28px rgba(6, 43, 80, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cets-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111111;
    font-weight: 700;
    white-space: nowrap;
}

.cets-footer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.cets-footer-links {
    display: flex;
    gap: 22px;
}

.cets-footer-links a {
    text-decoration: none;
    font-size: 0.92rem;
    color: #111111;
}

.cets-footer-links a:hover {
    color: #111111;
}

.cets-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 0;
    text-align: right;
}

.cets-footer small {
    color: #111111;
}

.cets-footer-email {
    display: inline-block;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    color: #111111;
    letter-spacing: -0.012em;
    word-break: break-word;
}

.cets-footer-email:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.edit-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Homepage: Cambridge EdTech Edit */
.edit-home {
    padding: 48px 0 24px;
}

.edit-home .section-head {
    margin-bottom: 28px;
    align-items: center;
}

.edit-home .section-head h2 {
    font-size: clamp(1.02rem, 1.45vw, 1.28rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    white-space: nowrap;
}

.edit-home .section-head .btn-ghost {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.88rem;
    flex-shrink: 0;
    border-color: #3B88B0;
    color: #3B88B0;
}

.edit-home .section-head .btn-ghost:hover {
    background: rgba(59, 136, 176, 0.08);
    border-color: #32779b;
    color: #2b6a8b;
    box-shadow: 0 8px 20px rgba(43, 120, 160, 0.14);
}

.edit-home-card {
    padding: 22px 22px 20px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.edit-home-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.08fr 0.96fr;
    gap: 16px;
    align-items: stretch;
}

.edit-home-photo {
    position: relative;
    display: block;
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #061018 center/cover no-repeat;
    text-decoration: none;
}

.edit-home-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 360px;
}

.edit-home-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(4, 30, 56, 0.55) 100%);
}

.edit-home-photo span {
    position: absolute;
    z-index: 1;
    left: 18px;
    bottom: 18px;
    max-width: 12rem;
    color: #f4f7ea;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 8px 24px rgba(4, 30, 56, 0.45);
}

.edit-home-featured {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18px 12px 12px 18px;
    text-decoration: none;
    min-width: 0;
}

.edit-home-flags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.edit-home-cat,
.edit-home-flag,
.edit-card-flag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.edit-home-cat {
    color: var(--green-deep);
}

.edit-home-flag,
.edit-card-flag {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 7px;
    border-radius: 99px;
    background: rgba(143, 217, 228, 0.4);
    color: var(--navy);
    letter-spacing: 0.06em;
}

.edit-home-featured .tag {
    margin-bottom: 0;
}

.edit-home-featured time {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.edit-home-featured h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    letter-spacing: -0.035em;
    line-height: 1.18;
    margin-bottom: 12px;
    color: var(--navy);
}

.edit-home-featured p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 10px;
}

.edit-home-byline {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.edit-home-featured .link-more {
    margin-top: auto;
}

.edit-home-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edit-home-mini {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.88);
    text-decoration: none;
    box-shadow: var(--shadow-1);
}

.edit-home-mini img {
    width: 92px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

.edit-home-mini small {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 4px;
}

.edit-home-mini h3 {
    font-size: 0.92rem;
    letter-spacing: -0.02em;
    line-height: 1.28;
    color: var(--navy);
}

.edit-home-mini .edit-home-byline {
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 0.72rem;
}

.edit-home-mini time {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.edit-home-loop {
    position: relative;
    overflow: hidden;
    margin-top: auto;
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: linear-gradient(145deg, #062B50 0%, #0B4A6E 58%, #1A6B88 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(6, 43, 80, 0.18);
}

.edit-home-loop::after,
.edit-home-loop::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 217, 228, 0.45), transparent 68%);
    pointer-events: none;
}

.edit-home-loop::before {
    width: 90px;
    height: 90px;
    right: -18px;
    top: -24px;
}

.edit-home-loop::after {
    width: 54px;
    height: 54px;
    right: 28px;
    bottom: -16px;
    opacity: 0.7;
}

.edit-home-loop h3 {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.edit-home-loop p {
    position: relative;
    z-index: 1;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 12px;
}

.edit-subscribe {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 8px;
    align-items: center;
}

.edit-subscribe input[type="email"] {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--navy);
}

.edit-subscribe button {
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius-pill);
    background: #3B88B0;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.edit-subscribe button:hover {
    background: #32779b;
}

/* Cambridge EdTech Edit magazine page */
.page-edit {
    background: #f6f3ec;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-submit {
    background: #f7fbfc;
}

.page-submit .edit-sky {
    height: 280px;
    background:
        linear-gradient(180deg, rgba(247, 251, 252, 0.02) 0%, rgba(247, 251, 252, 0.55) 68%, #f7fbfc 100%),
        url("../images/hero-cambridge.jpg") center 40%/cover no-repeat;
}

.page-edit .cets-atmosphere,
.page-edit .cets-hero-sky {
    display: none;
}

.edit-sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background:
        linear-gradient(180deg, rgba(246, 243, 236, 0.18) 0%, rgba(246, 243, 236, 0.92) 78%, #f6f3ec 100%),
        url("../images/hero-cambridge.jpg") center 42%/cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

.edit-page {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    padding-bottom: 48px;
}

.edit-masthead {
    padding: 28px 0 8px;
    text-align: center;
}

.edit-masthead h1 {
    font-family: var(--font-edit);
    font-size: clamp(2.15rem, 5.4vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.96;
    color: var(--navy);
}

.edit-masthead h1 em {
    font-style: italic;
    font-weight: 600;
}

.edit-masthead .edit-issue {
    margin-top: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(6, 43, 80, 0.45);
    white-space: nowrap;
}

.edit-masthead-home {
    margin-top: 12px;
    font-size: 0.84rem;
    font-weight: 600;
}

.edit-masthead-home a {
    color: var(--navy);
    text-decoration: none;
}

.edit-masthead-home a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.edit-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 22px 0 28px;
    padding: 0 8px 14px;
    border-bottom: 1px solid rgba(6, 43, 80, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.edit-tabs::-webkit-scrollbar {
    display: none;
}

.edit-tabs .filter-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.edit-tabs .filter-btn:hover,
.edit-tabs .filter-btn.is-active {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 0 1px rgba(6, 43, 80, 0.06);
}

.edit-hero {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    padding: 8px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-1);
}

.edit-hero-visual {
    position: relative;
    display: block;
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
}

.edit-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.edit-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(4, 30, 56, 0.5) 100%);
}

.edit-hero-visual span {
    position: absolute;
    z-index: 1;
    left: 22px;
    bottom: 22px;
    max-width: 11rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
    text-shadow: 0 8px 20px rgba(4, 30, 56, 0.4);
}

.edit-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 18px 22px 18px 8px;
}

.edit-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 14px;
}

.edit-hero-copy h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: var(--navy);
    margin-bottom: 14px;
}

.edit-hero-copy .lede {
    margin-bottom: 22px;
}

.edit-byline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy);
}

.edit-byline img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.edit-byline span {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}

.edit-latest-wrap {
    display: grid;
    grid-template-columns: 1.7fr 0.85fr;
    gap: 28px;
    margin-top: 36px;
    align-items: start;
}

.edit-latest-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.edit-latest-head h2,
.edit-most-read h2 {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--navy);
}

.edit-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.edit-story-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    min-width: 0;
}

.edit-story-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 12px;
}

.edit-story-card small {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 6px;
}

.edit-story-card h3 {
    font-size: 1.08rem;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 8px;
}

.edit-story-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.edit-story-card .edit-card-meta {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.edit-most-read {
    padding: 18px 18px 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.92);
}

.edit-most-read ol {
    list-style: none;
    margin-top: 10px;
}

.edit-most-read li + li {
    border-top: 1px solid rgba(6, 43, 80, 0.06);
}

.edit-most-read a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 12px 0;
    text-decoration: none;
}

.edit-most-read b {
    font-family: var(--font-edit);
    font-size: 1.15rem;
    color: var(--green);
    line-height: 1.1;
}

.edit-most-read h3 {
    font-size: 0.92rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--navy);
    font-weight: 700;
}

.edit-most-read-author {
    font-weight: 600;
    color: var(--text-muted);
}

.edit-most-read span {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.edit-sections {
    display: flex;
    flex-direction: column;
    gap: 42px;
    margin-top: 46px;
}

.edit-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(6, 43, 80, 0.08);
}

.edit-section-head h2 {
    font-family: var(--font-edit);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    letter-spacing: -0.03em;
    color: var(--navy);
}

.edit-section-head p {
    margin: 0;
    max-width: 34rem;
    text-align: right;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.edit-section-note {
    display: inline-block;
    margin-left: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-deep);
    vertical-align: middle;
}

.edit-most-read-band {
    margin-top: 42px;
}

@media (min-width: 800px) {
    .edit-most-read-band ol {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 36px;
    }

    .edit-most-read-band li:nth-child(2) {
        border-top: 0;
    }
}

.edit-endband {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 36px 0 18px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(4, 30, 56, 0.5) 0%, rgba(6, 43, 80, 0.62) 45%, rgba(4, 26, 48, 0.76) 100%),
        linear-gradient(90deg, rgba(4, 30, 56, 0.58) 0%, rgba(11, 58, 102, 0.34) 52%, rgba(6, 43, 80, 0.28) 100%),
        url("../images/hero-cambridge.jpg") center 48%/cover no-repeat;
}

.edit-letter {
    position: relative;
    z-index: 1;
    margin: 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    color: #fff;
    background: transparent;
}

.edit-endband .cets-footer {
    margin: 8px 0 10px;
}

.edit-endband .cets-footer-inner {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 32px rgba(4, 30, 56, 0.14);
}

.edit-letter-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 36px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.7fr;
    gap: 24px;
    align-items: center;
}

.edit-letter h2 {
    font-family: var(--font-edit);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-style: italic;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.edit-letter p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 16px;
    max-width: 36rem;
}

.edit-letter .edit-subscribe {
    max-width: 520px;
}

.edit-letter-mark {
    justify-self: end;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.7;
    text-align: right;
    color: rgba(255, 255, 255, 0.78);
}

.page-edit-article .edit-article {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    flex: 1 0 auto;
    padding: 28px 0 64px;
}

.edit-article-body p[id],
.edit-article-body h2[id],
#latest,
#ideas,
#perspectives,
#people,
#practice,
#news,
#perspectives,
#research,
#youth,
#featured,
#cets-edit {
    scroll-margin-top: 96px;
}

.edit-article-kicker {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 12px;
}

.edit-article h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.4vw, 2.8rem);
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: var(--navy);
    margin-bottom: 16px;
}

.edit-article .lede {
    font-size: 1.12rem;
    margin-bottom: 18px;
}

.edit-article-hero {
    margin: 22px 0 28px;
    border-radius: 22px;
    overflow: hidden;
}

.edit-article-hero img {
    width: 100%;
    height: min(420px, 52vw);
    object-fit: cover;
}

.edit-article-body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1d2a36;
    margin-bottom: 1.1em;
}

.edit-article-body h2,
.edit-article-body h3 {
    letter-spacing: -0.03em;
    color: var(--navy);
    margin: 1.6em 0 0.6em;
}

.edit-article-body h2 {
    font-size: 1.28rem;
}

.edit-article-body h3 {
    font-size: 1.12rem;
}

.edit-article-body p.is-blank {
    min-height: 1.1em;
}

.edit-article-body blockquote {
    margin: 0 0 1.1em;
    padding-left: 12px;
    border-left: 3px solid #3F7D2E;
    color: #345;
}

.edit-article-body a {
    color: #1d4e89;
}

.edit-article-carousel {
    margin: 0 0 22px;
}

.edit-article-carousel .cee-carousel-frame {
    border-radius: 22px;
}

.edit-article-carousel .cee-carousel-frame img {
    height: min(420px, 52vw);
}

.edit-article-caption {
    margin: 8px 0 0;
    color: #5d6d7e;
    font-size: 0.92rem;
}

.page-edit-article .cee-link-card {
    margin-top: 8px;
}

/* Page extras */
.back-home {
    display: inline-flex;
    margin: 36px auto 0;
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-grid,
    .idea-grid,
    .idea-panel,
    .bento,
    .project-grid,
    .featured-card,
    .impact-bar,
    .partners-layout,
    .edit-home-grid,
    .edit-hero,
    .edit-latest-wrap,
    .edit-letter-inner {
        grid-template-columns: 1fr;
    }

    .edit-latest-grid {
        grid-template-columns: 1fr 1fr;
    }

    .edit-home-photo,
    .edit-home-photo img,
    .edit-hero-visual,
    .edit-hero-visual img {
        min-height: 260px;
    }

    .edit-letter-mark {
        justify-self: start;
        text-align: left;
    }

    .edit-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .edit-section-head p {
        text-align: left;
    }

    .pdf-frame-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .impact-aside {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 16px 12px 8px;
        text-align: center;
    }

    .featured-card .featured-photo,
    .hero-note,
    .hero-globe {
        display: none;
    }

    .featured-3d {
        min-height: 280px;
    }

    .featured-3d-bar {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .bento .flagship-card {
        grid-row: auto;
    }

    .hackathon-stack .flagship-card,
    .bento-side .standard-card,
    .bento-side .compact-row {
        flex: none;
    }

    .cets-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cets-footer-brand {
        white-space: normal;
    }

    .cets-footer-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .cets-footer-meta {
        align-items: flex-start;
        text-align: left;
    }

    .events-more,
    .channel-grid,
    .logo-row,
    .compact-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .cets-nav {
        border-radius: 28px;
        flex-wrap: wrap;
        padding: 10px 12px;
    }

    .cets-nav-toggle {
        display: block;
    }

    .cets-nav-links,
    .cets-nav-cta {
        display: none;
    }

    .cets-nav.is-open .cets-nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        padding: 8px 6px 4px;
    }

    .cets-nav.is-open .cets-nav-cta {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin: 0 6px 8px;
    }

    .section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .page-hero h1 {
        white-space: normal;
    }

    .hero {
        padding: 12px 0 0;
    }

    .section-head,
    .community-head,
    .page-hero,
    .cets-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .edit-home .section-head h2 {
        white-space: normal;
    }

    .edit-home-card {
        padding: 20px 16px 16px;
        border-radius: 24px;
    }

    .edit-subscribe {
        flex-direction: column;
        align-items: stretch;
    }

    .edit-subscribe button {
        width: 100%;
    }

    .edit-masthead h1 {
        font-size: clamp(1.85rem, 8vw, 3rem);
        white-space: normal;
    }

    .edit-masthead .edit-issue {
        white-space: normal;
    }

    .page-hero-aside {
        text-align: left;
    }

    .partners-glass {
        padding: 28px 22px;
    }

    .cets-footer-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .cets-footer-meta {
        align-items: flex-start;
        text-align: left;
    }

    .hero-aside {
        min-height: 280px;
    }

    .page-mark {
        display: none;
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(var(--max), calc(100% - 24px));
    }

    .events-more,
    .channel-grid,
    .logo-row,
    .compact-row,
    .impact-bar,
    .edit-latest-grid {
        grid-template-columns: 1fr;
    }

    .edit-home-mini {
        grid-template-columns: 76px 1fr;
    }

    .partners-glass {
        padding: 8px;
    }


    .impact-bar {
        border-radius: 28px;
        padding: 10px;
    }

    .flagship-body,
    .featured-body,
    .idea-panel {
        padding: 20px;
    }

    .orb {
        width: min(240px, 70vw);
    }

    .btn-row {
        width: 100%;
    }

    .btn {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 14px;
        font-size: 0.88rem;
    }
}

.edit-submit-link {
    margin: -8px 8px 8px;
    text-align: right;
    font-weight: 600;
}

.edit-submit-link a {
    color: var(--navy);
    text-decoration: none;
}

.cee-form {
    max-width: 1040px;
    margin: 0 auto 72px;
    padding: 8px 8px 28px;
}

.cee-form [hidden],
[data-cee-story] [hidden] {
    display: none !important;
}

.cee-step-label {
    margin: 8px 0 0;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.cee-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 22px 0 28px;
    padding: 0;
}

.cee-stepper li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(6, 43, 80, 0.42);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0 4px 12px;
    white-space: nowrap;
}

.cee-stepper li span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(6, 43, 80, 0.22);
    background: #fff;
    color: rgba(6, 43, 80, 0.55);
    font-size: 0.82rem;
    font-weight: 700;
}

.cee-stepper li + li::before {
    content: "";
    width: 42px;
    height: 1px;
    margin: 0 10px 0 6px;
    background: rgba(6, 43, 80, 0.16);
}

.cee-stepper li.is-current {
    color: var(--navy);
    font-weight: 700;
}

.cee-stepper li.is-current span,
.cee-stepper li.is-done span {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.cee-stepper li.is-current::after {
    content: "";
    position: absolute;
    left: 40px;
    right: 4px;
    bottom: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--green);
}

.cee-form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-inline-size: 0;
}

.cee-form [data-step] {
    display: grid;
    gap: 16px;
}

.cee-form [data-step] > legend {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.cee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 36px;
    align-items: start;
}

.cee-pair {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.cee-form fieldset.cee-radios {
    display: block;
}

.cee-form fieldset.cee-radios legend,
.cee-form fieldset.cee-checks legend {
    font-family: Montserrat, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px;
    padding: 0;
}

.cee-radios label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 0 16px 0 0;
    font-weight: 600;
}

.cee-radios input {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 2px solid #c5ced6;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
}

.cee-radios input:checked {
    border-color: var(--green);
    background:
        radial-gradient(circle, #fff 0 3px, var(--green) 3.5px 100%);
}

.cee-section {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.cee-section h2,
.cee-panel h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--navy);
}

.cee-panel {
    display: grid;
    gap: 14px;
    margin-top: 8px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(6, 43, 80, 0.06);
}

.cee-req {
    color: #d23b3b;
}

.cee-continue {
    appearance: none;
    border: 0;
    cursor: pointer;
    background: var(--green);
    color: #fff;
    font: inherit;
    font-weight: 700;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 22px;
    box-shadow: 0 8px 18px rgba(63, 125, 46, 0.16);
    white-space: nowrap;
}

.cee-continue:hover {
    background: var(--green-deep);
}

.cee-continue:disabled {
    opacity: 0.65;
    cursor: default;
}

.cee-form label {
    display: block;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.92rem;
}

.cee-form label > input,
.cee-form label > select,
.cee-form label > textarea,
.cee-form label > small {
    display: block;
    margin-top: 6px;
}

.cee-form .cee-radios label,
.cee-form .cee-inline,
.cee-form .cee-checks label {
    display: flex;
    width: auto;
}

.cee-form .cee-radios label > input,
.cee-form .cee-inline > input,
.cee-form .cee-checks label > input {
    display: inline-block;
    width: 18px;
    margin-top: 0;
}

.cee-form input,
.cee-form select,
.cee-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(6, 43, 80, 0.14);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-weight: 500;
    padding: 12px 14px;
    min-height: 46px;
}

.cee-form textarea {
    min-height: 92px;
    resize: vertical;
}

.cee-form .cee-radios input {
    appearance: none;
    width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    border: 2px solid #c5ced6;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
}

.cee-form .cee-radios input:checked {
    border-color: var(--green);
    background: radial-gradient(circle, #fff 0 3px, var(--green) 3.5px 100%);
}

.cee-form small,
.cee-quiet,
.cee-form-note {
    color: rgba(6, 43, 80, 0.62);
    font-weight: 500;
    font-size: 0.84rem;
    line-height: 1.45;
}

.cee-form-note.is-error {
    color: #8d2b2b;
}

.cee-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.cee-checks label,
.cee-inline {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 600;
}

.cee-inline input,
.cee-checks input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 3px;
    padding: 0;
}

.cee-row {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
}

.cee-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    justify-content: flex-end;
    align-items: center;
}

.cee-actions [data-cee-back] {
    margin-right: auto;
}

.cee-form[data-current-step="0"] .cee-actions {
    display: none;
}

.cee-form button[data-add-row],
.cee-form button[data-remove-row] {
    justify-self: start;
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 800px) {
    .cee-grid,
    .cee-pair {
        grid-template-columns: 1fr;
        display: grid;
    }

    .cee-pair .cee-continue,
    .cee-actions .cee-continue,
    .cee-actions .btn {
        width: 100%;
    }

    .cee-stepper {
        justify-content: flex-start;
        overflow-x: auto;
        margin-left: -4px;
        margin-right: -4px;
        padding-bottom: 4px;
    }

    .cee-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cee-actions [data-cee-back] {
        margin-right: 0;
    }
}

body.page-submit.is-step-submission .edit-sky,
body.page-submit.is-step-submission .edit-masthead,
body.page-submit.is-step-submission .cee-stepper,
body.page-submit.is-step-submission .cee-step-label,
body.page-submit.is-step-review .edit-sky,
body.page-submit.is-step-review .edit-masthead,
body.page-submit.is-step-review .cee-stepper,
body.page-submit.is-step-review .cee-step-label {
    display: none;
}

.cee-form[data-current-step="1"] .cee-actions,
.cee-form[data-current-step="2"] .cee-actions {
    display: none;
}

.cee-form .cee-step2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.cee-form [data-step] > legend.cee-sr {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.cee-step2-intro {
    padding: 6px 0 8px;
}

.cee-kicker {
    margin: 0;
    color: #7d8ea3;
    font-family: Montserrat, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.cee-step2-title {
    margin: 4px 0 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--navy);
}

.cee-step2-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 22px;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
}

.cee-preview-anchor {
    order: -1;
    min-width: 0;
    min-height: 0;
}

.cee-details {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cee-details-card,
.cee-live {
    background: #fff;
    border: 1px solid rgba(6, 43, 80, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(6, 43, 80, 0.05);
}

.cee-details-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 22px 26px;
    min-height: 0;
}

.cee-live {
    padding: 18px 18px 22px;
    min-height: 0;
}

.cee-card-title {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--navy);
}

.cee-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.cee-label-row small,
.cee-field > small,
.cee-details-card small {
    margin: 0;
}

.cee-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cee-label {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.92rem;
}

.cee-form .cee-step2 fieldset.cee-choice-row {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 6px 12px;
}

.cee-form .cee-step2 fieldset.cee-choice-row > legend {
    flex: 1 0 100%;
    margin: 0;
}

.cee-form .cee-step2 fieldset.cee-choice-row label {
    margin: 0;
    gap: 6px;
    font-size: 0.86rem;
    white-space: nowrap;
}

.cee-step2 .cee-radios input:checked {
    border-color: #3F7D2E;
    background: radial-gradient(circle, #fff 0 3px, #3F7D2E 3.5px 100%);
}

.cee-inline-error {
    margin: 0;
    color: #8d2b2b;
    font-size: 0.84rem;
    font-weight: 600;
}

.cee-form small.is-over {
    color: #8d2b2b;
}

.cee-covers {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 6px;
}

.cee-covers.is-drop {
    outline: 2px dashed #3F7D2E;
    outline-offset: 4px;
    border-radius: 12px;
}

.cee-cover-list {
    display: flex;
    gap: 10px;
}

.cee-cover-thumb {
    position: relative;
    width: 96px;
    height: 72px;
    flex: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(6, 43, 80, 0.08);
    background: #eef3f5;
    cursor: grab;
}

.cee-cover-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cee-cover-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    background: #3F7D2E;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    padding: 2px 6px;
}

.cee-cover-edit {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1;
}

.cee-cover-add {
    width: 96px;
    height: 72px;
    flex: none;
    border: 1.5px dashed rgba(6, 43, 80, 0.28);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.cee-cover-plus {
    font-size: 1.15rem;
    line-height: 1;
}

.cee-image-editor {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: #f4f8f9;
}

.cee-image-editor-title {
    margin: 0;
    font-weight: 700;
    color: var(--navy);
}

.cee-image-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cee-image-editor-actions button {
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.cee-editor-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(6, 43, 80, 0.14);
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: #fff;
}

.cee-form .cee-editor-bar select {
    width: auto;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 4px 26px 4px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.cee-editor-bar button {
    width: 32px;
    height: 32px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(6, 43, 80, 0.12);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

@media (min-width: 980px) {
    .cee-editor-bar {
        flex-wrap: nowrap;
    }

    .cee-form .cee-editor-bar select[data-cee-block] {
        width: 128px;
    }

    .cee-form .cee-editor-bar select[data-cee-heading] {
        width: 118px;
    }
}

.cee-editor {
    min-height: 150px;
    border: 1px solid rgba(6, 43, 80, 0.14);
    border-radius: 0 0 10px 10px;
    background: #fff;
    padding: 12px 14px;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.5;
}

.cee-editor:focus {
    outline: 2px solid rgba(63, 125, 46, 0.35);
    outline-offset: 1px;
}

.cee-editor.is-empty:before {
    content: attr(data-placeholder);
    color: rgba(6, 43, 80, 0.38);
}

.cee-editor p,
.cee-editor h2,
.cee-editor blockquote {
    margin: 0 0 0.6em;
}

.cee-link-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cee-form .cee-link-row input {
    width: auto;
    flex: 1;
    min-width: 0;
}

.cee-generate {
    border: 1px solid rgba(6, 43, 80, 0.16);
    background: #fff;
    color: var(--navy);
    border-radius: 10px;
    min-height: 46px;
    padding: 0 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.cee-generate:disabled {
    opacity: 0.45;
    cursor: default;
}

.cee-research {
    display: grid;
    gap: 14px;
    padding-top: 4px;
}

.cee-research h3 {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy);
}

.cee-step2-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 2px 0;
}

.cee-step2-footer .btn-ghost {
    background: #fff;
    border: 1px solid rgba(6, 43, 80, 0.14);
    border-radius: 999px;
    min-height: 46px;
    padding: 0 22px;
    box-shadow: none;
}

.cee-step2-footer .cee-continue {
    margin-left: auto;
    background: #3F7D2E;
}

.cee-step2-footer .cee-continue:hover {
    background: #346828;
}

.cee-preview-open {
    display: none;
}

.cee-carousel-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #e7eef2;
}

.cee-carousel-frame img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.cee-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(6, 43, 80, 0.16);
}

.cee-carousel-arrow.is-prev { left: 10px; }
.cee-carousel-arrow.is-next { right: 10px; }

.cee-carousel-count {
    position: absolute;
    right: 12px;
    bottom: 10px;
    margin: 0;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.cee-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.cee-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d5dee3;
    cursor: pointer;
}

.cee-dots button.is-active {
    background: #3a4d5c;
}

.cee-preview-kicker {
    margin: 16px 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
}

.cee-preview-title {
    margin: 6px 0 8px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.55rem, 2vw, 1.9rem);
    font-weight: 700;
    line-height: 1.15;
    color: #16233a;
}

.cee-preview-summary {
    margin: 0;
    color: #5d6d7e;
    line-height: 1.5;
}

.cee-preview-by {
    margin: 12px 0;
    color: #6b7c8a;
    font-size: 0.92rem;
}

.cee-preview-body {
    color: #1e2a36;
    line-height: 1.6;
}

.cee-preview-body p,
.cee-preview-body h2,
.cee-preview-body blockquote {
    margin: 0 0 0.75em;
}

.cee-preview-body h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
}

.cee-preview-body blockquote {
    border-left: 3px solid #3F7D2E;
    padding-left: 12px;
    color: #345;
}

.cee-preview-title.is-placeholder,
.cee-preview-summary.is-placeholder,
.cee-preview-by.is-placeholder,
.cee-preview-body .is-placeholder {
    color: #b7c2cb;
    font-weight: 500;
}

.cee-link-card {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    padding: 10px;
    border: 1px solid #e3ebf0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
}

.cee-link-card:hover {
    border-color: rgba(63, 125, 46, 0.45);
}

.cee-link-mark {
    width: 72px;
    height: 56px;
    flex: none;
    border-radius: 8px;
    background: #e7eef2;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--navy);
}

.cee-link-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cee-link-domain {
    font-size: 0.75rem;
    color: #6a7a88;
}

.cee-link-title {
    font-size: 0.92rem;
    color: var(--navy);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cee-link-go {
    color: #3F7D2E;
    font-weight: 700;
    font-size: 0.88rem;
}

.cee-preview-dialog {
    width: min(680px, calc(100% - 24px));
    max-height: calc(100vh - 32px);
    border: 0;
    border-radius: 18px;
    padding: 16px 16px 20px;
    box-shadow: 0 18px 50px rgba(6, 43, 80, 0.2);
}

.cee-preview-dialog::backdrop {
    background: rgba(6, 43, 80, 0.45);
}

.cee-dialog-close {
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 8px;
}

.cee-preview-dialog .cee-live {
    border: 0;
    box-shadow: none;
    padding: 0;
    height: auto;
}

@media (min-width: 980px) {
    body.page-submit.is-step-submission {
        height: 100vh;
        overflow: hidden;
    }

    body.page-submit.is-step-submission .cets-footer {
        display: none;
    }

    body.page-submit.is-step-submission .edit-page {
        flex: 1 1 auto;
        min-height: 0;
        padding-bottom: 16px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body.page-submit.is-step-submission .cee-form {
        flex: 1 1 auto;
        min-height: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        max-width: 1240px;
        width: min(1240px, calc(100% - 28px));
    }

    body.page-submit.is-step-submission .cee-step2 {
        flex: 1 1 auto;
        min-height: 0;
    }

    body.page-submit.is-step-submission .cee-step2-layout {
        flex: 1 1 auto;
        min-height: 0;
    }

    body.page-submit.is-step-submission .cee-preview-anchor,
    body.page-submit.is-step-submission .cee-details,
    body.page-submit.is-step-submission .cee-live {
        height: 100%;
        min-height: 0;
    }

    body.page-submit.is-step-submission .cee-details {
        overflow: hidden;
    }

    body.page-submit.is-step-submission .cee-details-card {
        flex: 1 1 auto;
        min-height: 0;
    }

    body.page-submit.is-step-submission .cee-details-card,
    body.page-submit.is-step-submission .cee-live {
        overflow: auto;
    }

    body.page-submit.is-step-submission .cee-step2-footer {
        flex: 0 0 auto;
    }

    .cee-preview-open {
        display: none !important;
    }
}

@media (max-width: 979px) {
    .cee-step2-layout {
        display: flex;
        flex-direction: column;
    }

    .cee-preview-anchor {
        display: none;
    }

    .cee-preview-open {
        display: inline-flex;
    }

    .cee-details,
    .cee-details-card,
    .cee-live {
        height: auto;
    }

    .cee-step2-footer {
        flex-wrap: wrap;
    }
}

.cee-form .cee-step3 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.cee-step3-lead {
    margin: 10px 0 0;
    max-width: 40rem;
    color: rgba(6, 43, 80, 0.72);
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.45;
}

.cee-step3-layout {
    display: grid;
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    gap: 22px;
    align-items: start;
}

.cee-summary-card,
.cee-confirm-card {
    background: #fff;
    border: 1px solid rgba(6, 43, 80, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(6, 43, 80, 0.05);
}

.cee-summary-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 22px 18px;
}

.cee-summary-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cee-summary-head img {
    width: 148px;
    height: 112px;
    flex: none;
    object-fit: cover;
    border-radius: 12px;
    background: #e7eef2;
}

.cee-summary-head img[hidden] {
    display: none;
}

.cee-summary-copy {
    min-width: 0;
}

.cee-summary-section {
    margin: 0 0 6px;
    color: #7d8ea3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cee-summary-title {
    margin: 0 0 8px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.2;
    color: var(--navy);
}

.cee-summary-by {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
}

.cee-summary-affiliation,
.cee-anon-note {
    margin: 2px 0 0;
    color: rgba(6, 43, 80, 0.62);
    font-size: 0.92rem;
    font-weight: 500;
}

.cee-anon-note::before {
    content: "◷ ";
}

.cee-summary-text {
    margin: 0;
    color: rgba(6, 43, 80, 0.78);
    font-weight: 500;
    line-height: 1.55;
}

.cee-related {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(6, 43, 80, 0.1);
    border-radius: 14px;
    background: #f7fbfc;
    color: var(--navy);
    text-decoration: none;
}

.cee-related-mark,
.cee-related-go {
    display: inline-flex;
    color: rgba(6, 43, 80, 0.55);
}

.cee-related-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.cee-related-label {
    font-size: 0.78rem;
    font-weight: 700;
}

.cee-related-url {
    overflow: hidden;
    color: rgba(6, 43, 80, 0.62);
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cee-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(6, 43, 80, 0.08);
}

.cee-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(6, 43, 80, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cee-confirm-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 150px);
    padding: 22px 18px 16px;
}

.cee-confirm-scroll {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
}

.cee-confirm-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cee-confirm-block h3 {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.cee-form .cee-tick {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.4;
}

.cee-form .cee-tick input {
    appearance: none;
    width: 22px;
    height: 22px;
    min-height: 22px;
    flex: none;
    margin-top: 1px;
    padding: 0;
    border: 1.5px solid #c5ced6;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.cee-form .cee-tick input:checked {
    border-color: #3F7D2E;
    background: #3F7D2E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

.cee-youth-banner {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #e7f6df;
    color: #245c1c;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.cee-youth-banner::before {
    content: "i";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 50%;
    background: #3F7D2E;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.cee-form .cee-name-choice {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cee-step3-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 4px;
}

.cee-step3-footer .btn-ghost {
    background: #fff;
    border: 1px solid rgba(6, 43, 80, 0.16);
    border-radius: 999px;
    min-height: 46px;
    padding: 0 22px;
    box-shadow: none;
}

.cee-step3-footer .cee-continue {
    background: #3F7D2E;
}

.cee-step3-footer .cee-continue:hover {
    background: #346828;
}

.cee-step3-footer .cee-continue:disabled {
    opacity: 0.45;
}

.cee-done {
    max-width: 40rem;
    margin: 12px auto 0;
    padding: 28px 8px 12px;
}

.cee-done h2 {
    margin: 0 0 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--navy);
}

@media (max-width: 979px) {
    .cee-step3-layout {
        grid-template-columns: 1fr;
    }

    .cee-confirm-card {
        max-height: none;
    }
}
