:root {
  /* ORN identity — from ORN_Presentation_Template */
  --navy: #0F2444;
  --navy-deep: #0D1E3A;
  --navy-ink: #0A1830;
  --slate: #2E3B52;
  --gold: #C9A35C;
  --gold-soft: #E2DCCB;
  --gold-bright: #D9B876;
  --bronze: #8A6A2B;
  --teal: #3E7F8A;
  --teal-tint: #E4F1F0;
  --cream: #F7F5EF;
  --paper: #FFFFFF;
  --ink: #0F2444;
  --muted: #56627A;
  --steel: #9AA6B6;
  --line: #E2DCCB;
  --radius: 14px;
  --serif: Cambria, "Caladea", Georgia, serif;
  --display: Cambria, "Caladea", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 33, 58, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(180, 154, 90, 0.25);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: auto; }
.brand-text { font-family: var(--display); font-size: 13px; letter-spacing: 0.26em; line-height: 1.5; text-transform: uppercase; }
.brand-text small { display: block; font-family: var(--display); font-size: 10px; letter-spacing: 0.3em; color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.82); font-size: 14px; letter-spacing: 0.02em; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-bright); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font: 600 14px/1 var(--sans); letter-spacing: 0.03em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-ink); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { border-color: rgba(230, 217, 181, 0.5); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.nav .btn { padding: 10px 18px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy-deep) url("assets/bg-cover.jpg") right top / cover no-repeat;
  padding: 110px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 780px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: #9A7F3E; font-weight: 600;
}
.hero .eyebrow { color: var(--gold-soft); font-weight: 400; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero-lockup { display: flex; align-items: center; gap: 22px; margin-bottom: 64px; }
.hero-lockup img { width: 92px; height: auto; }
.hero-lockup .brand-text { font-size: 17px; letter-spacing: 0.3em; }
.hero-lockup .brand-text small { font-size: 12px; margin-top: 6px; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 5.6vw, 68px); line-height: 1.06; letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.tagline { font-family: var(--display); font-size: clamp(19px, 2vw, 24px); color: var(--gold-bright); margin: 0 0 22px; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 80px; background: rgba(201,163,92,0.3);
  border: 1px solid rgba(201,163,92,0.3); border-radius: var(--radius); overflow: hidden;
}
.stat { background: rgba(13,30,58,0.88); padding: 22px 24px; }
.stat b { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--gold-bright); }
.stat span { font-size: 13px; color: rgba(255,255,255,0.68); }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
h2 {
  font-family: var(--display); font-weight: 700; color: var(--navy);
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; margin: 14px 0 16px; letter-spacing: -0.01em;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.bg-white { background: var(--paper); }
.bg-navy { background: var(--navy-deep) url("assets/bg-section.jpg") right center / cover no-repeat; color: #fff; }
.bg-navy h2 { color: #fff; }
.bg-navy .section-head p { color: rgba(255,255,255,0.72); }
.bg-navy .eyebrow { color: var(--gold-soft); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about-intro p { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--navy); margin: 0 0 22px; }
.about-intro p strong { color: var(--bronze); font-weight: 600; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(15,36,68,0.35); border-color: rgba(201,163,92,0.5); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal); margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 0 0 8px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Vision & mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card {
  border: 1px solid rgba(201,163,92,0.35); border-radius: var(--radius);
  padding: 44px 40px; background: rgba(255,255,255,0.03); position: relative;
}
.vm-card .num { font-family: var(--display); font-size: 13px; letter-spacing: 0.3em; color: var(--gold); }
.vm-card { background: rgba(13,30,58,0.72); backdrop-filter: blur(2px); }
.vm-card h3 { font-family: var(--display); font-weight: 700; font-size: 28px; margin: 10px 0 16px; }
.vm-card p { color: rgba(255,255,255,0.78); margin: 0; font-size: 17px; }
.vm-card p em { color: var(--gold-bright); font-style: normal; }
.values { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }
.values span {
  padding: 10px 18px; border-radius: 999px; font-size: 14px;
  border: 1px solid rgba(230,217,181,0.3); color: var(--gold-soft);
}

/* Programmes */
.programmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.programme { display: flex; flex-direction: column; }
.programme .tag { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 10px; }
.programme ul { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.programme li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); position: relative; }
.programme li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.programme .more { margin-top: auto; padding-top: 20px; font-weight: 600; font-size: 14px; color: var(--navy); text-decoration: none; }
.programme .more:hover { color: var(--teal); }

/* Sessions timeline */
.sessions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
/* archwire + bracket markers (ORN progress motif) */
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--steel); opacity: .7; }
.timeline li { position: relative; padding: 0 0 30px 52px; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 2px; width: 24px; height: 20px; border-radius: 6px;
  --l: var(--steel);
  background:
    linear-gradient(var(--l), var(--l)) center 3px / 12px 2px no-repeat,
    linear-gradient(var(--l), var(--l)) center 11px / 12px 2px no-repeat,
    var(--paper);
  border: 2px solid var(--steel);
}
.timeline li.next::before {
  --l: var(--bronze);
  background:
    linear-gradient(var(--l), var(--l)) center 3px / 12px 2px no-repeat,
    linear-gradient(var(--l), var(--l)) center 11px / 12px 2px no-repeat,
    var(--gold);
  border-color: var(--bronze);
}
.timeline time { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.timeline h4 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin: 2px 0 2px; font-weight: 700; }
.timeline p { margin: 0; color: var(--muted); font-size: 15px; }
.topics h3 { font-family: var(--serif); font-size: 26px; color: var(--navy); margin: 0 0 8px; }
.topics > p { color: var(--muted); margin: 0 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); font-size: 14px; color: var(--navy);
}
.format-box {
  margin-top: 34px; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff;
}
.format-box h4 { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; margin: 0 0 14px; color: var(--gold-soft); font-size: 15px; }
.format-box ol { margin: 0; padding-left: 20px; color: rgba(255,255,255,0.82); font-size: 15px; }
.format-box li { margin-bottom: 6px; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.stage { padding: 36px 32px; border: 1px solid var(--line); background: var(--paper); position: relative; }
.stage:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stage:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.stage + .stage { border-left: 0; }
.stage.active { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; border-color: var(--navy); }
.stage .badge { display: inline-block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--navy-ink); font-weight: 700; margin-bottom: 14px; }
.stage .step { font-family: var(--display); font-size: 13px; letter-spacing: 0.3em; color: var(--bronze); }
.stage.active .step { color: var(--gold-bright); }
.stage h3 { font-family: var(--display); font-weight: 700; font-size: 26px; margin: 8px 0 12px; color: var(--navy); }
.bracket-chain { display: block; width: 100%; height: auto; margin: 0 0 22px; }
@media (max-width: 960px) { .bracket-chain { display: none; } }
.stage.active h3 { color: #fff; }
.stage p { margin: 0; color: var(--muted); font-size: 15px; }
.stage.active p { color: rgba(255,255,255,0.78); }
.roadmap-note { text-align: center; color: var(--muted); font-family: var(--serif); font-size: 20px; font-style: italic; max-width: 760px; margin: 36px auto 0; }

/* Standards */
.standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.standard { padding: 30px; border-radius: var(--radius); border: 1px solid rgba(201,163,92,0.3); }
.standard h3 { font-family: var(--serif); font-size: 22px; margin: 14px 0 8px; color: #fff; font-weight: 600; }
.standard p { margin: 0; color: rgba(255,255,255,0.72); font-size: 15px; }
.standard .icon { color: var(--gold-bright); }
.standard .icon svg { width: 28px; height: 28px; }

/* Join */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.who { list-style: none; padding: 0; margin: 26px 0 30px; }
.who li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.who li svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.who li b { color: var(--navy); }
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 30px 60px -40px rgba(15,36,68,0.45); }
.form-card h3 { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 24px; margin: 0 0 6px; }
.form-card > p { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #D5D9E0;
  font: 15px var(--sans); color: var(--ink); background: #FBFBF9; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,163,92,0.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; padding: 15px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

/* Footer */
footer { background: var(--navy-ink); color: rgba(255,255,255,0.65); padding: 64px 0 34px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
footer h5 { font-family: var(--display); font-weight: 700; letter-spacing: 0.12em; color: var(--gold-soft); font-size: 13px; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--gold-bright); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 13px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Library page ---------- */
.page-hero { padding: 80px 0 70px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); }
.lib-tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.lib-tools input, .lib-tools select {
  padding: 12px 16px; border-radius: 999px; border: 1px solid #D5D9E0; font: 15px var(--sans); background: var(--paper);
}
.lib-tools input { flex: 1 1 280px; }
.lib-tools input:focus, .lib-tools select:focus { outline: none; border-color: var(--gold); }
.lib-count { font-size: 14px; color: var(--muted); }
.paper-list { display: grid; gap: 12px; }
.paper {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px;
}
.paper .meta { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.paper h3 { font-family: var(--serif); font-size: 20px; color: var(--navy); margin: 4px 0 4px; font-weight: 600; line-height: 1.3; }
.paper .src { font-size: 14px; color: var(--muted); }
.paper .links { display: flex; gap: 8px; }
.paper .links a { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); white-space: nowrap; }
.paper .links a.free { background: var(--teal-tint); color: var(--teal); border-color: transparent; }
.paper .links a:hover { border-color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .sessions-grid, .join-grid { grid-template-columns: 1fr; }
  .programmes, .standards { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .stage, .stage:first-child, .stage:last-child { border-radius: 0; }
  .stage:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .stage:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .stage + .stage { border-left: 1px solid var(--line); border-top: 0; }
  .vm { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy-deep); padding: 10px 20px 24px; display: none;
    border-bottom: 1px solid rgba(201,163,92,0.25);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links .btn { margin-top: 14px; }
  section { padding: 72px 0; }
  .hero { padding: 60px 0 80px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .tagline { font-size: 18px; }
  .brand-text small { font-size: 9px; letter-spacing: 0.16em; }
  .hero-lockup img { width: 64px; }
  .hero-lockup .brand-text { font-size: 13px; letter-spacing: 0.2em; }
  .hero-lockup .brand-text small { font-size: 10px; }
  .pillars, .row2 { grid-template-columns: 1fr; }
  .paper { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .vm-card { padding: 32px 24px; }
}
