/* Sol & Prism — Education hub (education.html) and About (about.html).
   Built on tokens.css + site.css + pages.css. Every colour is a token, so the three palettes all work. */

/* ---------- hub layout: sticky section nav + content ---------- */
.edu { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; padding-block: clamp(48px, 5vw, 88px) clamp(72px, 8vw, 130px); }
.edu > * { min-width: 0; }
.edu-nav { position: sticky; top: calc(var(--nav-h) + 8px); display: grid; gap: 16px; max-height: calc(100vh - var(--nav-h) - 24px); overflow: auto; scrollbar-width: thin; padding-right: 4px; }
.edu-nav h2 { margin: 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--gold); }
.edu-nav .grp { display: grid; }
.edu-nav .grp + .grp { margin-top: 18px; }
.edu-nav .grp > span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 0 6px; font-weight: 500; }
.edu-nav a { display: grid; grid-template-columns: 28px 1fr; gap: 4px; padding: 8px 0; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); transition: color .3s; }
.edu-nav a i { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--gold); line-height: 1.35; }
.edu-nav a:hover, .edu-nav a[aria-current="true"] { color: var(--jewel); }
.edu-nav a[aria-current="true"] { font-weight: 500; }
.edu-nav a[aria-current="true"] i { color: var(--jewel); }
@media (max-width: 1000px) {
  .edu { grid-template-columns: 1fr; padding-top: 0; }
  .edu-nav { position: sticky; top: 0; z-index: 40; max-height: none; overflow: visible; display: block; margin-inline: calc(-1 * var(--g)); padding: 10px var(--g); background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); transition: top .5s var(--ease-out); }
  body:has(.nav.scrolled:not(.hide)) .edu-nav { top: var(--nav-sm, 68px); }
  .edu-nav h2, .edu-nav .grp > span { display: none; }
  .edu-nav .rail { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .edu-nav .rail::-webkit-scrollbar { display: none; }
  .edu-nav .grp { display: contents; }
  .edu-nav a { flex: none; display: inline-flex; gap: 6px; align-items: baseline; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; white-space: nowrap; background: var(--white); }
  .edu-nav a i { font-size: 14px; }
  .edu-nav a[aria-current="true"] { background: var(--jewel); border-color: var(--jewel); color: #fff; }
  .edu-nav a[aria-current="true"] i { color: var(--gold-bright); }
}

/* ---------- a topic ---------- */
.topic { padding: 0 0 clamp(56px, 6vw, 96px); margin: 0 0 clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--line); }
.topic:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.topic-h { display: grid; gap: 12px; margin-bottom: clamp(26px, 3vw, 40px); max-width: 760px; }
.topic-h h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 4vw, 62px); line-height: 1.02; letter-spacing: -0.01em; color: var(--ink); }
.topic-h h2 em { font-style: italic; color: var(--jewel); }
.topic-h p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.7; font-weight: 300; }
.topic h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(23px, 1.8vw, 28px); line-height: 1.2; color: var(--ink); }
.topic h3 em { font-style: italic; color: var(--jewel); }
.topic p.t { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.68; font-weight: 300; }
.topic .sub { margin-top: clamp(36px, 4vw, 56px); display: grid; gap: 14px; }
.more { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--jewel); }
.more svg { width: 18px; height: 10px; transition: transform .5s var(--ease-out); }
.more:hover svg { transform: translateX(6px); }

/* "in short" */
.gist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin: 0 0 clamp(30px, 3vw, 44px); padding: 0; list-style: none; }
.gist li { padding: 18px 20px 18px 0; display: block; font-size: 15px; line-height: 1.55; color: var(--ink-2); font-weight: 300; }
.gist li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.gist b { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.2; color: var(--ink); }
.gist.v { grid-template-columns: 1fr; }
.gist.v li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .gist { grid-template-columns: 1fr; } .gist li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* figures */
.fig { margin: 0; padding: clamp(20px, 2.6vw, 38px); border-radius: 6px; background: radial-gradient(100% 100% at 50% 20%, var(--white) 0%, var(--pearl) 100%); box-shadow: inset 0 0 0 1px var(--line); }
.fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.fig figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fig .lbl { font-family: var(--font-body); font-size: 19px; fill: var(--ink-2); }
.fig .lbl.b { fill: var(--ink); font-weight: 500; }
.fig .lbl.g { fill: var(--gold); font-style: italic; font-family: var(--font-display); font-size: 17px; }
.ln { fill: none; stroke: var(--jewel); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.ln.thin { stroke-width: .9; opacity: .65; }
.ln.gold { stroke: var(--gold); }
.ln.mute { stroke: var(--muted); stroke-dasharray: 3 4; stroke-width: 1; }
.fl-stone { fill: var(--white); }
.fl-metal { fill: color-mix(in srgb, var(--gold-bright) 32%, var(--white)); stroke: var(--gold); stroke-width: 1.3; stroke-linejoin: round; }
.fl-metal-w { fill: var(--mist); stroke: var(--ink-2); stroke-width: 1.2; stroke-linejoin: round; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split2.top { align-items: start; }
.figs2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
@media (max-width: 1240px) { .figs2 { grid-template-columns: 1fr; } }
.cap3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }
.cap3 .on { color: var(--jewel); font-weight: 500; }
.split2.wl { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.cmp2.tight th[scope="row"] { min-width: 110px; }
.cmp2.tight td { min-width: 120px; }
.topic .note { margin-top: 22px; }
@media (max-width: 860px) { .split2, .split2.wl { grid-template-columns: 1fr; } }

/* photo with caption */
.photo { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--pearl); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.photo figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: 13px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.photos2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* tile grids: shapes, settings, profiles */
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tile { background: var(--white); padding: clamp(18px, 2vw, 28px); display: grid; gap: 10px; align-content: start; }
.tile .lbl { fill: var(--muted); font-family: var(--font-body); }
.tiles.st .tile svg { max-width: 230px; }
.tile svg { width: 100%; max-width: 180px; height: auto; justify-self: center; overflow: visible; margin-bottom: 6px; }
.tile h3 { font-size: 24px; }
.tile p { margin: 0; font-size: 15px; line-height: 1.58; color: var(--ink-2); font-weight: 300; }
.tile .k { display: flex; flex-wrap: wrap; gap: 6px; }
.tile .k span { font-size: 12.5px; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--jewel-soft); color: var(--jewel-deep); }
.tile .k span.no { background: var(--pearl); color: var(--muted); }
@media (min-width: 761px) and (max-width: 1440px) { .tiles.p5 { --cols: 3 !important; } }
.tiles::after { content: ""; background: var(--white); grid-column: auto / -1; }
@media (max-width: 1180px) { .tiles { --cols: 3 !important; } }
@media (max-width: 760px) { .tiles { --cols: 2 !important; } .tile h3 { font-size: 21px; } }
@media (max-width: 420px) { .tiles.wide { --cols: 1 !important; } }

/* metals */
.karat { display: grid; gap: 14px; }
.karat .row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 64px; gap: 14px; align-items: center; }
.karat b { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--ink); }
.karat .bar { position: relative; height: 22px; border-radius: 999px; background: var(--mist); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.karat .bar i { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 999px; background: var(--gold-grad); }
.karat .pct { font-size: 15px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.karat .row.mk b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; vertical-align: middle; transform: rotate(45deg); background: var(--jewel); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: center; }
.swatches svg { width: 100%; max-width: 92px; height: auto; margin: 0 auto 8px; display: block; }
.swatches b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink); }
.swatches span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 560px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } }

/* comparison tables: readable on phones */
.cmp2 th[scope="row"] { min-width: 140px; }
.cmp2 td { min-width: 150px; line-height: 1.55; }
.cmp2 td.same { color: var(--jewel); font-weight: 500; }
.dots { letter-spacing: 3px; color: var(--jewel); white-space: nowrap; }
.dots s { text-decoration: none; color: var(--line); }

/* origin */
.vs2 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); align-items: stretch; margin-bottom: clamp(28px, 3vw, 44px); }
.vs2 > div { padding: clamp(22px, 2.6vw, 38px); border-radius: 6px; display: grid; gap: 10px; align-content: start; }
.vs2 .nat { color: #fff; background: radial-gradient(120% 120% at 0% 0%, var(--jewel) 0%, var(--jewel-deep) 55%, var(--jewel-night) 100%); }
.vs2 .lab { background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line); }
.vs2 h3 { font-size: clamp(28px, 2.4vw, 38px); font-weight: 400; }
.vs2 .nat h3, .vs2 .nat h3 em { color: #fff; }
.vs2 .nat h3 em { color: var(--gold-bright); }
.vs2 .nat .eyebrow { color: var(--gold-bright); }
.vs2 p { margin: 0; font-size: 15.5px; line-height: 1.62; font-weight: 300; }
.vs2 .nat p { color: rgba(255,255,255,.86); }
.vs2 .lab p { color: var(--ink-2); }
.vs2 .eq { display: grid; place-items: center; align-content: center; gap: 8px; padding: 0; text-align: center; font-size: 13px; color: var(--muted); max-width: 120px; }
.vs2 .eq svg { width: 84px; height: auto; }
.vs2 .eq b { font-family: var(--font-display); font-size: 34px; font-weight: 400; color: var(--gold); line-height: 1; }
@media (max-width: 860px) { .vs2 { grid-template-columns: 1fr; } .vs2 .eq { max-width: none; grid-auto-flow: column; justify-content: center; } }

/* 4Cs scales (generated by education.js) */
.scale { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; }
.scale span { display: grid; place-items: center; height: 54px; border-radius: 3px; font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); position: relative; }
.scale span.on { box-shadow: inset 0 0 0 1.5px var(--jewel); color: var(--jewel); }
.scale span.on::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 8px; height: 8px; transform: translateX(-50%) rotate(45deg); background: var(--gold-grad); }
.bands { display: grid; grid-template-columns: var(--cols); gap: 3px; margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }
.bands span { padding-top: 8px; border-top: 1px solid var(--line); line-height: 1.35; }
.bands span.us { color: var(--jewel); border-top-color: var(--jewel); font-weight: 500; }
@media (max-width: 560px) { .scale span { font-size: 14px; height: 42px; } }
.clar { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.ci { display: grid; gap: 8px; justify-items: center; }
.ci svg { width: 100%; max-width: 50px; height: auto; }
.ci span { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.ci.on span { color: var(--jewel); font-weight: 600; }
@media (max-width: 560px) { .clar { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 14px; } .cl-bands { display: none; } }
.carat { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 18px 14px; --k: min(5.4px, 1.05vw); }
.ct { display: grid; gap: 4px; justify-items: center; min-width: 54px; }
.ct i { width: calc(var(--mm) * var(--k) * 2); aspect-ratio: 1; border-radius: 50%; border: 1.2px solid var(--jewel); background: radial-gradient(circle, var(--white) 0 54%, color-mix(in srgb, var(--gold) 45%, transparent) 55% 56%, var(--white) 57%); margin-bottom: 6px; }
.ct b { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink); line-height: 1; }
.ct small { font-size: 13px; color: var(--muted); }
.grades { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin-top: 18px; }
.grades span { padding: 10px 6px; text-align: center; font-size: 13.5px; color: var(--ink-2); background: color-mix(in srgb, var(--jewel) var(--a), var(--white)); border-radius: 3px; }
.grades span.on { color: #fff; font-weight: 500; }
.ours { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 16px; padding: 10px 16px; border-radius: 999px; background: var(--jewel-soft); color: var(--jewel-deep); font-size: 14.5px; line-height: 1.4; }
.ours b { font-weight: 600; }
@media (max-width: 560px) { .ours { border-radius: 10px; } }

/* sizing + care */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); counter-reset: h; margin: 0 0 clamp(30px, 3vw, 44px); padding: 0; list-style: none; }
.how li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--ink); }
.how li svg { width: 64px; height: 64px; }
.how b { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--ink); }
.how p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.size-tbl td, .size-tbl th { white-space: nowrap; }
.size-tbl tbody th { font-size: 19px; }
.size-wrap { max-height: 460px; overflow: auto; }
.size-wrap thead th { position: sticky; top: 0; background: var(--white); z-index: 1; }
.dodont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.dodont > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.dodont ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dodont li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); font-weight: 300; }
.dodont li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; }
.dodont .yes li::before { background: var(--jewel-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='%231f3fae' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.dodont .no li::before { background: #fdf1f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%23b3261e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
@media (max-width: 700px) { .dodont { grid-template-columns: 1fr; } }

/* certification: an example report */
.report { border-radius: 6px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px color-mix(in srgb, var(--jewel-deep) 45%, transparent), inset 0 0 0 1px var(--line); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 14px; }
.report header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.report header b { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--ink); }
.report header span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.report dl { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 0; }
.report dd { padding-left: 12px !important; }
.report dt, .report dd { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.report dt { color: var(--muted); }
.report dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.report dt i { display: inline-block; width: 22px; font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold); }
.report small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.keys { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: k; }
.keys li { counter-increment: k; position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); font-weight: 300; }
.keys li::before { content: counter(k); position: absolute; left: 0; top: -2px; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--gold); }
.keys li b { color: var(--ink); font-weight: 500; }

/* ---------- about ---------- */
.ab-hero { position: relative; padding: clamp(120px, 12vw, 170px) 0 clamp(48px, 5vw, 80px); }
.ab-hero .row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: end; }
.ab-hero h1 { font-size: clamp(52px, 7.6vw, 132px); margin: 18px 0 0; color: var(--ink); }
.ab-hero h1 em { color: var(--jewel); }
.ab-hero .lede { margin: 26px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.25vw, 20px); line-height: 1.65; font-weight: 300; max-width: 46ch; }
.ab-hero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ab-hero .photo img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .ab-hero .row { grid-template-columns: 1fr; } .ab-hero .photo img { aspect-ratio: 4 / 3; } }
.pull { margin: 0; font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(30px, 3.2vw, 52px); line-height: 1.18; color: var(--jewel); max-width: 24ch; }
.pull em { color: var(--gold); }
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; position: relative; }
.journey li { position: relative; display: grid; gap: 10px; align-content: start; padding: 0 clamp(10px, 1.4vw, 22px) 0 0; }
.journey li svg { width: 58px; height: 58px; color: var(--jewel); }
.journey li::before { content: ""; position: absolute; left: 70px; right: 8px; top: 29px; height: 1px; background: var(--gold-grad); opacity: .6; }
.journey li:last-child::before { display: none; }
.journey .numeral { font-size: 22px; }
.journey b { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.15; color: var(--ink); }
.journey p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; }
@media (max-width: 1000px) { .journey { grid-template-columns: 1fr; gap: 26px; } .journey li { grid-template-columns: 58px 1fr; column-gap: 18px; padding: 0; } .journey li > :not(svg) { grid-column: 2; } .journey li svg { grid-row: 1 / span 3; } .journey li::before { left: 29px; right: auto; top: 64px; bottom: -22px; width: 1px; height: auto; } }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.values > div { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--ink); }
.values b { font-family: var(--font-display); font-weight: 500; font-size: 25px; line-height: 1.15; color: var(--ink); }
.values p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-2); font-weight: 300; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.ab-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.ab-split .photo img { aspect-ratio: 3 / 2; }
@media (max-width: 860px) { .ab-split { grid-template-columns: 1fr; } }
.ab-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ab-list li { display: grid; grid-template-columns: minmax(120px, 160px) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); font-weight: 300; }
.ab-list li b { font-weight: 500; color: var(--ink); }
@media (max-width: 520px) { .ab-list li { grid-template-columns: 1fr; gap: 2px; } }
.learn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.learn a { background: var(--white); padding: 22px; display: grid; gap: 6px; transition: background .4s var(--ease-out); }
.learn a:hover { background: var(--pearl); }
.learn a b { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--ink); }
.learn a span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; font-weight: 300; }
@media (max-width: 900px) { .learn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .learn { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .more svg, .edu-nav { transition: none; } }
@media print { .edu-nav { display: none; } .edu { grid-template-columns: 1fr; } }

/* ---------- phones (mobile polish) ---------- */
@media (max-width: 1000px) {
  body.pg { --nav-h: 136px; }   /* site bar + chip rail: anchors must land below both */
  .edu-nav .rail { margin-inline: calc(-1 * var(--g)); padding-inline: var(--g); scroll-padding-inline: var(--g); }
  .edu-nav a { min-height: 44px; align-items: center; }
}
@media (max-width: 860px) { .split2, .split2.wl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .size-wrap { max-height: none; overflow-y: visible; }
  .size-wrap .tbl th, .size-wrap .tbl td { padding-right: 14px; }
  .size-wrap .tbl thead th { position: static; letter-spacing: .08em; }
}
@media (max-width: 560px) { .ours { display: block; } }
.scale span { white-space: nowrap; }
