/* Layout: a conference programme booklet. Navy masthead and page heads from the Eduschool pen-nib logo,
   left-aligned serif headings, mono labels for dates and ISSNs, one marigold accent for actions. */
:root {
  --bg: #f5f7f9;
  --surface: #ffffff;
  --tint: #e9eef3;
  --ink: #17232f;
  --muted: #566577;
  --line: #d6dee6;
  --brand: #2e4560;
  --brand-deep: #1f3147;
  --on-brand: #ffffff;
  --on-brand-muted: #c3cfdb;
  --accent: #b5760f;
  --accent-ink: #ffffff;
  --accent-soft: #f6ead3;
  --ok: #2f6b45;
  --ok-soft: #e3f0e7;
  --bad: #a3392f;
  --bad-soft: #f8e4e1;
  --logo-bg: #ffffff;
  --link: #2e4560;
  --shadow: 0 1px 2px rgba(23, 35, 47, .06), 0 8px 24px rgba(23, 35, 47, .06);
  --f-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1160px;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f151c; --surface: #16202b; --tint: #131c26; --ink: #e5ebf1; --muted: #9aa9b8; --line: #2a3847;
    --brand: #1b2b3d; --brand-deep: #132130; --on-brand: #eef3f8; --on-brand-muted: #a9b8c7;
    --accent: #e3a43c; --accent-ink: #1a1306; --accent-soft: #3a2c12; --ok: #7cc597; --ok-soft: #173024;
    --bad: #f0958a; --bad-soft: #3a1d1a; --logo-bg: #ffffff; --link: #f0c47a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f151c; --surface: #16202b; --tint: #131c26; --ink: #e5ebf1; --muted: #9aa9b8; --line: #2a3847;
  --brand: #1b2b3d; --brand-deep: #132130; --on-brand: #eef3f8; --on-brand-muted: #a9b8c7;
  --accent: #e3a43c; --accent-ink: #1a1306; --accent-soft: #3a2c12; --ok: #7cc597; --ok-soft: #173024;
  --bad: #f0958a; --bad-soft: #3a1d1a; --logo-bg: #ffffff; --link: #f0c47a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
.mono { font-family: var(--f-mono); font-size: .88em; font-variant-numeric: tabular-nums; }
.small { font-size: .875rem; color: var(--muted); }
.mt { margin-top: 1.6rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 600 .75rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 52px; object-fit: contain; background: var(--logo-bg); border-radius: 4px; padding: 2px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font: 700 1.05rem/1.1 var(--f-display); letter-spacing: .02em; }
.brand-name span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--r); padding: 8px 12px; font: 600 .9rem var(--f-body); cursor: pointer; }
#site-nav { display: flex; align-items: center; gap: 2px; }
.nav-group { position: relative; }
.nav-group > button, .nav-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--ink); font: 500 .93rem var(--f-body); padding: 10px 12px; border-radius: var(--r); cursor: pointer; text-decoration: none; }
.nav-group > button::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.nav-group > button:hover, .nav-link:hover, .nav-group > button[aria-expanded="true"] { background: var(--tint); }
.nav-group.current > button, .nav-link.current { box-shadow: inset 0 -2px 0 var(--accent); border-radius: var(--r) var(--r) 0 0; }
.nav-cta { margin-left: 8px; }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); display: none; }
.nav-group:last-of-type .sub { left: auto; right: 0; }
.nav-group > button[aria-expanded="true"] + .sub { display: block; }
@media (hover: hover) and (min-width: 1001px) { .nav-group:hover .sub, .nav-group:focus-within .sub { display: block; } }
.sub li { margin: 0; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.sub a b { display: block; font-weight: 600; font-size: .93rem; }
.sub a span { display: block; font-size: .8rem; color: var(--muted); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--tint); }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  #site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 72px); overflow-y: auto; }
  #site-nav.open { display: flex; }
  .nav-group > button, .nav-link { width: 100%; justify-content: space-between; padding: 12px 8px; }
  .sub { position: static; display: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 8px; min-width: 0; padding: 0 0 0 6px; }
  .nav-cta { margin: 10px 0 0; }
  .nav-group.current > button, .nav-link.current { box-shadow: inset 3px 0 0 var(--accent); border-radius: 0; }
}

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: var(--r); font: 600 .95rem var(--f-body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-accent { background: var(--accent); color: var(--accent-ink) !important; }
.btn-accent:hover { filter: brightness(1.07); }
.btn-primary { background: var(--brand); color: var(--on-brand) !important; }
.btn-ghost { border-color: var(--line); color: var(--ink) !important; background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-ghost-light { border-color: var(--on-brand-muted); color: var(--on-brand) !important; }
.arrow { font-weight: 600; text-decoration: none; color: var(--accent) !important; }
.arrow::after { content: " \2192"; }
.arrow:hover { text-decoration: underline; }

/* ---------- hero & page heads ---------- */
.hero, .page-head { background: var(--brand); color: var(--on-brand); }
.hero { padding-block: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede, .page-head .lede { color: var(--on-brand-muted); font-size: 1.12rem; max-width: 60ch; }
.hero .eyebrow, .page-head .eyebrow { color: var(--accent); }
.hero .btn-ghost { background: transparent; color: var(--on-brand) !important; border-color: var(--on-brand-muted); }
.proof { background: var(--surface); color: var(--ink); border-radius: 10px; padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.proof-label { font: 600 .72rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 .4rem; }
.proof-title { font: 600 1.9rem/1.1 var(--f-display); margin: 0 0 .3rem; }
.proof-sub { color: var(--muted); font-size: .92rem; }
.proof-text { font-size: .95rem; }
.page-head { padding-block: clamp(32px, 5vw, 60px); }
.page-head h1 { max-width: 22ch; }

/* ---------- bands ---------- */
.band { padding-block: clamp(40px, 6vw, 72px); }
.band-tint { background: var(--tint); }
.sec-head { max-width: 62ch; margin-bottom: 28px; }
.sec-head p:last-child { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stack { display: grid; gap: 18px; }
.narrow { max-width: 760px; }
.prose { min-width: 0; }
.prose > :last-child { margin-bottom: 0; }
.more { margin-top: 18px; }

.route { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; text-decoration: none; color: var(--ink) !important; transition: border-color .15s, transform .15s; }
.route:hover { border-color: var(--accent); transform: translateY(-2px); }
.route-no { font: 500 .78rem var(--f-mono); color: var(--accent); margin-bottom: 10px; }
.route p { color: var(--muted); font-size: .93rem; margin: 0; }
.platform { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; text-decoration: none; color: var(--ink) !important; }
.platform:hover { border-color: var(--accent); }
.platform .mono { color: var(--accent); }
.platform h3 { margin-top: 6px; }
.platform p { color: var(--muted); margin: 0; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 6px; height: 11px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; min-width: 0; }
.panel > :last-child { margin-bottom: 0; }
.note { background: var(--accent-soft); border-radius: var(--r); padding: 14px 16px; font-size: .93rem; }
.areas { margin: 0; }
.areas dt { font-weight: 600; margin-top: .8em; }
.areas dt:first-child { margin-top: 0; }
.areas dd { margin: .1em 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- pathways, steps, timeline ---------- */
.pathway { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px; scroll-margin-top: 90px; }
.pw-tag { font: 500 .85rem var(--f-mono); color: var(--accent); border-top: 2px solid var(--accent); padding-top: 8px; align-self: start; }
.pathway p:last-child { margin-bottom: 0; }
.steps { padding-left: 1.4em; }
.steps li { margin-bottom: .7em; }
.steps li::marker { font-family: var(--f-mono); color: var(--accent); }
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: t; display: grid; gap: 0; max-width: 820px; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 26px 64px; margin: 0; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 600 1rem/40px var(--f-mono); text-align: center; }
.timeline li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin: 7px 0 4px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- conferences ---------- */
.conf-list { display: grid; gap: 18px; }
.conf { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; scroll-margin-top: 90px; }
.conf-date { text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 12px 6px; align-self: start; background: var(--bg); }
.conf-date .d { display: block; font: 600 2.1rem/1 var(--f-display); }
.conf-date .m { display: block; font: 500 .74rem var(--f-mono); color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; }
.conf h3 { font-size: 1.35rem; margin: 10px 0 4px; }
.conf-sub { color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 600 .72rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.chip-role { background: var(--accent-soft); border-color: transparent; color: var(--ink); }
.chip-past { background: var(--tint); }
.facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 16px; margin: 0 0 14px; }
.facts dt { font-size: .82rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; }
.conf-extra { font-size: .93rem; background: var(--tint); border-radius: var(--r); padding: 10px 12px; }
.conf-links { display: flex; flex-wrap: wrap; gap: 18px; }
.empty { border: 1.5px dashed var(--line); border-radius: 10px; padding: 32px; text-align: center; color: var(--muted); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); margin-bottom: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .94rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
tbody tr:last-child td { border-bottom: 0; }
tr.grp th { background: var(--bg); font: 600 .95rem var(--f-display); color: var(--ink); }
.journals td:nth-child(2), .journals td:nth-child(3) { white-space: nowrap; }
.platform-head { margin-bottom: 18px; }
.platform-head .mono { color: var(--accent); }
.platform-head h2 { margin: 4px 0 6px; }
.platform-head h2 a { text-decoration-color: var(--accent); }
.platform-head p { color: var(--muted); margin: 0; }
.prj { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.prj li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 0; }
.prj .mono { display: block; color: var(--muted); margin-top: 4px; }

/* ---------- services, faq, policies, contact ---------- */
.svc > div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.svc h3 { border-bottom: 2px solid var(--accent); padding-bottom: 8px; display: inline-block; }
.svc ul { margin: 0; color: var(--muted); font-size: .94rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font: 600 1.08rem var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.policies h2 { font-size: 1.3rem; margin-top: 1.8em; scroll-margin-top: 90px; }
.policies h2:first-child { margin-top: 0; }
.contact .big { font-size: 1.05rem; word-break: break-word; }

/* ---------- forms ---------- */
.apply { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(18px, 3vw, 28px); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.f.full { grid-column: 1 / -1; }
.f label, .f legend { font-weight: 600; font-size: .9rem; padding: 0; }
.f small { color: var(--muted); font-size: .8rem; }
.req { color: var(--accent); margin-left: 3px; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
input, select, textarea { width: 100%; font: 400 .95rem var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; min-height: 44px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.checks label, .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.checks input, .consent input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--accent); }
.consent { margin: 20px 0 16px; }
.f.invalid input, .f.invalid select, .f.invalid textarea { border-color: var(--bad); background: var(--bad-soft); }
.result { margin-top: 18px; border-radius: 8px; padding: 16px; }
.result.ok { background: var(--ok-soft); }
.result.error { background: var(--bad-soft); }
.result p { margin: 0 0 10px; }
.summary { white-space: pre-wrap; word-break: break-word; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; font: .85rem/1.5 var(--f-mono); max-height: 260px; overflow: auto; margin: 0 0 10px; }

/* ---------- CTA & footer ---------- */
.band-cta { background: var(--brand-deep); color: var(--on-brand); }
.cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { margin-bottom: .3em; }
.cta p { color: var(--on-brand-muted); margin: 0; max-width: 58ch; }
.cta .btns { margin-top: 0; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 48px 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot-grid h4 { font: 600 .75rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand p { color: var(--muted); }
.foot-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .hero-grid, .split, .form-split, .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .grid4, .fgrid, .checks { grid-template-columns: minmax(0, 1fr); }
  .conf, .pathway { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .conf-date { display: flex; gap: 10px; align-items: baseline; justify-content: flex-start; padding: 8px 12px; }
  .conf-date .m { margin: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts dd { margin-bottom: 8px; }
  .brand-name span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- hosting additions ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .65; cursor: progress; }
.social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
.social a { font-weight: 600; }
@media (max-width: 1000px) {
  .no-js .nav-toggle { display: none; }
  .no-js #site-nav { display: flex; position: static; max-height: none; border: 0; padding-inline: 0; }
  .no-js .sub { display: block; }
  .no-js .bar { flex-wrap: wrap; }
}
