.cw-education-segments { background:#CFC4F6; color:#141210; padding:clamp(64px,8vw,120px) clamp(16px,4vw,40px); font-family:'Education Inter',system-ui,sans-serif; -webkit-font-smoothing:antialiased; scroll-margin-top:110px; }
.cw-education-segments *, .cw-education-segments *::before, .cw-education-segments *::after { box-sizing:border-box; }
.cw-education-segments__inner { max-width:1280px; margin:0 auto; display:flex; flex-direction:column; gap:clamp(28px,4vw,52px); }
.cw-education-segments__intro { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr)); gap:clamp(20px,4vw,64px); align-items:end; }
.cw-education-segments__heading { display:flex; flex-direction:column; gap:20px; min-width:0; }
.cw-education-segments__number { align-self:flex-start; padding:7px 12px; border:1.5px solid #141210; border-radius:999px; font:600 11px/1 'Education JetBrains Mono',monospace; letter-spacing:.14em; }
.cw-education-segments h2 { margin:0; color:#141210; font-family:'Education Inter Tight',sans-serif; font-weight:800; font-size:clamp(34px,5vw,68px); line-height:.98; letter-spacing:-.05em; text-wrap:balance; }
.cw-education-segments h2 em { font-family:'Education Playfair Display',serif; font-style:italic; font-weight:500; letter-spacing:-.03em; }
.cw-education-segments__intro p { margin:0; font-size:16.5px; line-height:1.75; text-wrap:pretty; }
.cw-education-segments__content { display:flex; flex-direction:column; }
.cw-education-segments__tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; align-items:end; margin-bottom:10px; }
.cw-education-segments__tab { padding:clamp(12px,1.4vw,16px) clamp(14px,1.8vw,22px); border:0; border-radius:14px; background:rgba(20,18,16,.08); color:#141210; font:700 clamp(13px,1.3vw,16px)/1.2 'Education Inter Tight',sans-serif; text-align:left; display:flex; align-items:baseline; height:100%; cursor:pointer; transition:background .3s,padding .3s; }
.cw-education-segments__tab > span { font:600 10.5px/1 'Education JetBrains Mono',monospace; margin-right:8px; opacity:.6; }
.cw-education-segments__tab--0.is-active, .cw-education-segments__panel--0 { background:#F3EFE7; }
.cw-education-segments__tab--1.is-active, .cw-education-segments__panel--1 { background:#D4F53C; }
.cw-education-segments__tab--2.is-active, .cw-education-segments__panel--2 { background:#fff; }
.cw-education-segments__tab--3.is-active, .cw-education-segments__panel--3 { background:#FF8A63; }
.cw-education-segments__tab:focus-visible { outline:2px solid #E0431C; outline-offset:2px; }
.cw-education-segments__panel-wrap { position:relative; }
.cw-education-segments__panel-wrap::before { content:""; position:absolute; left:14px; right:-10px; top:14px; bottom:-12px; border-radius:0 26px 26px 26px; background:rgba(20,18,16,.12); }
.cw-education-segments__panel { position:relative; border-radius:26px; padding:clamp(26px,4vw,56px); display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)); gap:clamp(18px,3vw,48px); align-items:start; min-height:clamp(260px,24vw,320px); transition:background .35s; }
.cw-education-segments__panel-heading { display:flex; flex-direction:column; gap:16px; min-width:0; animation:educationSegmentsIn .45s both; }
.cw-education-segments__panel-number { font-family:'Education Playfair Display',serif; font-style:italic; font-weight:500; font-size:clamp(64px,8vw,110px); line-height:.8; }
.cw-education-segments__panel-title { font:900 clamp(26px,3vw,42px)/1.02 'Education Inter Tight',sans-serif; letter-spacing:-.04em; text-wrap:balance; }
.cw-education-segments__panel p { margin:0; font:500 clamp(17px,1.6vw,21px)/1.6 'Education Inter',sans-serif; color:#2A2622; text-wrap:pretty; animation:educationSegmentsIn .45s .08s both; }
.cw-education-segments [data-segments-reveal].is-pending { opacity:0; transform:translateY(48px); transition:opacity 1s cubic-bezier(.2,.8,.2,1),transform 1s cubic-bezier(.2,.8,.2,1); }
.cw-education-segments [data-segments-reveal].is-visible { opacity:1; transform:none; }
@media (min-width:640px) { .cw-education-segments__tabs { grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:0; } .cw-education-segments__tab { border-radius:16px 16px 0 0; } .cw-education-segments__tab.is-active { padding-bottom:clamp(16px,1.8vw,20px); } .cw-education-segments__panel--0 { border-top-left-radius:0; } .cw-education-segments__panel--3 { border-top-right-radius:0; } }
@keyframes educationSegmentsIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
