/* ==========================================================================
   SPAV Deanships — design system "Dean's Desk" (RF-DD, Nov 2026)
   Shared stylesheet for deans.php and the five Dean pages.
   Scoped to .dd; the global SPAV header, footer and other pages are untouched.
   Type   : Playfair Display (titles, names) · Outfit (headings, UI) ·
            DM Sans (text) · DM Mono (reference numbers) — self-hosted
   Colour : navy #0B1A30 · ink #111827 · slate #374151 · warm paper #F6F4EF
            SPAV gold #EEAB20 (accent) · deep marigold #8C5A00 (gold text)
   Sizes are in rem so the site's A− / A / A+ text-size control still scales them.
   ========================================================================== */

body.dd-body { background: #F6F4EF !important; }
body.dd-body main#main-content { background: transparent !important; }

.dd {
  --navy: #0B1A30;
  --navy-2: #13294B;
  --ink: #111827;
  --text: #374151;
  --muted: #5F6672;
  --line: #E7E3DA;
  --line-2: #EFECE5;
  --paper: #FAF8F4;
  --gold: #EEAB20;
  --gold-deep: #8C5A00;
  --gold-tint: #FCF3DD;
  --green: #0E7A4A;
  --r: 16px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 10px 30px -18px rgba(17, 24, 39, .22);
  --f-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-head: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --f-text: 'DM Sans', system-ui, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, monospace;
  font-family: var(--f-text);
  color: var(--text);
  padding-bottom: 72px;
}
.dd *, .dd *::before, .dd *::after { box-sizing: border-box; }
.dd-wrap { width: calc(100% - 48px); max-width: 1240px; margin: 0 auto; }

/* Reset the global type rules that leak into main content */
html body .dd h1, html body .dd h2, html body .dd h3, html body .dd h4,
html body .dd p, html body .dd ul, html body .dd ol, html body .dd li, html body .dd dl, html body .dd dd, html body .dd dt {
  margin: 0 !important; padding: 0 !important; background: none; border: 0; text-align: left;
  letter-spacing: normal; text-transform: none;
}
html body .dd ul, html body .dd ol { list-style: none !important; }
html body .dd li::marker { content: none; }
html body .dd a, html body .dd a:hover { text-decoration: none; }
.dd :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hero ---------- */
.dd-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(238, 171, 32, .16), transparent 60%),
    radial-gradient(700px 360px at -5% 110%, rgba(61, 110, 190, .22), transparent 60%),
    linear-gradient(180deg, #0B1A30 0%, #0E2240 100%);
  overflow: hidden;
}
.dd-hero::before { /* fine drafting grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 100%);
}
.dd-hero::after { /* compass arc, architectural motif */
  content: ""; position: absolute; right: -140px; top: -180px; width: 560px; height: 560px; pointer-events: none;
  border-radius: 50%; border: 1px solid rgba(238, 171, 32, .28);
  box-shadow: 0 0 0 46px rgba(238, 171, 32, .035), 0 0 0 47px rgba(238, 171, 32, .14), 0 0 0 120px rgba(255, 255, 255, .02);
}
.dd-hero > .dd-wrap { position: relative; z-index: 1; padding: 30px 0 46px; }

.dd-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
html body .dd .dd-crumbs li { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head) !important; font-size: .82rem !important; color: #A9B6CA !important; }
html body .dd .dd-crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .28); }
html body .dd .dd-crumbs a { color: #D6DEEA !important; }
html body .dd .dd-crumbs a:hover { color: var(--gold) !important; }
html body .dd .dd-crumbs [aria-current] { color: #fff !important; font-weight: 500; }

html body .dd p.dd-hero__eyebrow {
  display: flex; align-items: center; gap: 12px; margin-top: 34px !important;
  font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .78rem !important;
  letter-spacing: .16em !important; text-transform: uppercase !important; color: var(--gold) !important;
}
.dd-hero__rule { width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
html body .dd .dd-hero__title {
  margin-top: 14px !important; max-width: 20ch;
  font-family: var(--f-serif) !important; font-weight: 700 !important;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem) !important; line-height: 1.08 !important;
  letter-spacing: .015em !important; color: #fff !important;
}
html body .dd p.dd-hero__sub {
  margin-top: 14px !important; max-width: 62ch;
  font-family: var(--f-text) !important; font-size: 1.05rem !important; line-height: 1.6 !important; color: #C9D3E2 !important;
}
html body .dd p.dd-hero__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px !important; }
html body .dd .dd-hero__jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06);
  font-family: var(--f-head) !important; font-weight: 500; font-size: .88rem !important; color: #fff !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.dd-hero__jump a i { font-size: .72rem; color: var(--gold); }
html body .dd .dd-hero__jump a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy) !important; }
.dd-hero__jump a:hover i { color: var(--navy); }

/* Deanship switcher */
.dd-hero__switch { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .10); background: rgba(4, 12, 26, .35); }
.dd-switch ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dd-switch ul::-webkit-scrollbar { display: none; }
html body .dd .dd-switch li { flex: 0 0 auto; }
html body .dd .dd-switch a {
  position: relative; display: block; padding: 15px 16px 14px; white-space: nowrap;
  font-family: var(--f-head) !important; font-weight: 500; font-size: .9rem !important; color: #B8C4D6 !important;
  transition: color .2s ease;
}
.dd-switch a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background .2s ease; }
html body .dd .dd-switch a:hover { color: #fff !important; }
html body .dd .dd-switch a[aria-current="page"] { color: #fff !important; font-weight: 600; }
.dd-switch a[aria-current="page"]::after { background: var(--gold); }

/* ---------- Body layout ---------- */
.dd-main { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 36px; }
.dd-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* Profile card */
.dd-profile { overflow: hidden; }
.dd-profile__top { position: relative; padding: 28px 28px 0; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.dd-profile__top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold), #F6C760 60%, var(--gold-deep)); }
.dd-photo { position: relative; width: 200px; aspect-ratio: 4 / 5; margin: 0 auto; }
.dd-photo::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border-radius: 14px; border: 1.5px solid var(--gold); }
.dd-photo img, .dd-photo picture { display: block; width: 100%; height: 100%; }
.dd-photo img { position: relative; object-fit: cover; object-position: 50% 20%; border-radius: 14px; background: var(--line-2); box-shadow: 0 14px 30px -16px rgba(11, 26, 48, .55); }
.dd-profile__body { padding: 30px 28px 28px; text-align: center; }
html body .dd .dd-name { font-family: var(--f-serif) !important; font-weight: 700 !important; font-size: 1.45rem !important; line-height: 1.2 !important; color: var(--ink) !important; text-align: center !important; }
html body .dd p.dd-desig { margin-top: 6px !important; font-family: var(--f-text) !important; font-size: .95rem !important; line-height: 1.45 !important; color: var(--muted) !important; text-align: center !important; }
html body .dd p.dd-role {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px !important; padding: 7px 14px !important;
  border-radius: 999px; background: var(--gold-tint); border: 1px solid #F1DDAA;
  font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .78rem !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--gold-deep) !important;
}
.dd-role i { font-size: .8rem; }
html body .dd ul.dd-contact { margin-top: 22px !important; padding-top: 20px !important; border-top: 1px solid var(--line-2) !important; display: grid; gap: 10px; text-align: left; }
html body .dd .dd-contact li { display: flex; align-items: flex-start; gap: 12px; font-family: var(--f-text) !important; font-size: .86rem !important; line-height: 1.45 !important; color: var(--text) !important; overflow-wrap: anywhere; }
.dd-contact i { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--gold-deep); font-size: .8rem; }
.dd-contact li > span { padding-top: 5px; }
html body .dd .dd-contact a { color: var(--navy) !important; font-weight: 500; }
html body .dd .dd-contact a:hover { color: var(--gold-deep) !important; text-decoration: underline; }
html body .dd dl.dd-ids { margin-top: 18px !important; display: grid; text-align: left; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dd-ids > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 9px 14px; }
.dd-ids > div + div { border-top: 1px solid var(--line-2); }
.dd-ids > div:nth-child(odd) { background: var(--paper); }
html body .dd .dd-ids dt { font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .78rem !important; color: var(--muted) !important; }
html body .dd .dd-ids dd { font-family: var(--f-mono) !important; font-size: .8rem !important; color: var(--ink) !important; overflow-wrap: anywhere; }
.dd-actions { display: grid; gap: 10px; margin-top: 22px; }
html body .dd .dd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border-radius: 12px;
  font-family: var(--f-head) !important; font-weight: 600; font-size: .92rem !important; line-height: 1.2;
  background: var(--navy); color: #fff !important; border: 1px solid var(--navy);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dd-btn i { color: var(--gold); font-size: .85rem; transition: color .2s ease; }
html body .dd .dd-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy) !important; transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(140, 90, 0, .6); }
.dd-btn:hover i { color: var(--navy); }

/* Left column: profile + (long pages) sticky "On this page" index */
.dd-side { display: grid; gap: 22px; align-content: start; align-self: stretch; }
.dd-toc { position: sticky; top: 140px; padding: 22px 22px 18px; }
html body .dd p.dd-toc__title { margin-bottom: 10px !important; font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .75rem !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--muted) !important; }
html body .dd .dd-toc a { display: flex; align-items: baseline; gap: 12px; padding: 8px 10px; border-radius: 9px; font-family: var(--f-head) !important; font-size: .92rem !important; line-height: 1.35; color: var(--ink) !important; transition: background .2s ease, color .2s ease; }
.dd-toc a span { flex: 0 0 auto; font-family: var(--f-mono); font-size: .74rem; color: var(--gold-deep); }
html body .dd .dd-toc a:hover { background: var(--gold-tint); color: var(--gold-deep) !important; }
.dd [id] { scroll-margin-top: 140px; }

/* Content column */
.dd-content { display: grid; gap: 22px; min-width: 0; }
.dd-sec { padding: 34px 38px; }
.dd-sec__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.dd-sec__no { font-family: var(--f-mono); font-size: .78rem; color: var(--gold-deep); letter-spacing: .04em; }
html body .dd .dd-sec__title { font-family: var(--f-serif) !important; font-weight: 700 !important; font-size: 1.6rem !important; line-height: 1.2 !important; color: var(--ink) !important; }
html body .dd .dd-sec__title--sm { font-size: 1.3rem !important; }
.dd-sec__head::after { content: ""; flex: 1 1 auto; height: 1px; align-self: center; background: linear-gradient(90deg, var(--line), transparent); }
.dd-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: var(--gold-tint); color: var(--gold-deep); font-family: var(--f-head); font-size: .85rem; font-weight: 600; vertical-align: middle; }

html body .dd .dd-prose p { font-family: var(--f-text) !important; font-size: 1rem !important; line-height: 1.8 !important; color: var(--text) !important; }
html body .dd .dd-prose p + p { margin-top: 16px !important; }
html body .dd .dd-prose p.dd-lead { font-size: 1.08rem !important; color: var(--ink) !important; }
html body .dd .dd-prose p.dd-lead::first-letter { float: left; margin: 6px 10px 0 0; font-family: var(--f-serif); font-weight: 700; font-size: 3.4rem; line-height: .8; color: var(--gold-deep); }
html body .dd .dd-prose strong { color: var(--ink); font-weight: 600; }
html body .dd .dd-prose a, html body .dd .dd-welfare a { color: var(--navy) !important; font-weight: 600; border-bottom: 1px solid rgba(238, 171, 32, .7); }
html body .dd .dd-prose a:hover, html body .dd .dd-welfare a:hover { color: var(--gold-deep) !important; border-bottom-color: var(--gold-deep); }

/* Sub-blocks inside the profile article */
.dd-block + .dd-block { margin-top: 38px; }
.dd-block .dd-sec__head { margin-bottom: 16px; }

/* Qualifications */
.dd-quals { display: grid; gap: 12px; }
.dd-qual { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.dd-qual__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.05rem; }
html body .dd .dd-qual h4 { font-family: var(--f-head) !important; font-weight: 600 !important; font-size: 1.02rem !important; line-height: 1.35 !important; color: var(--ink) !important; }
html body .dd .dd-qual p { margin-top: 3px !important; font-family: var(--f-text) !important; font-size: .9rem !important; line-height: 1.5 !important; color: var(--muted) !important; }
html body .dd .dd-qual p.dd-qual__thesis { margin-top: 6px !important; font-style: italic; color: var(--gold-deep) !important; }

/* Experience timeline */
.dd-tl { position: relative; display: grid; gap: 4px; }
.dd-tl::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--line) 30%, var(--line)); }
html body .dd .dd-tl li { position: relative; padding: 10px 0 14px 34px !important; }
.dd-tl li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.dd-tl li.is-current::before { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint); }
html body .dd .dd-tl h4 { font-family: var(--f-head) !important; font-weight: 600 !important; font-size: 1rem !important; line-height: 1.4 !important; color: var(--ink) !important; }
html body .dd .dd-tl p { font-family: var(--f-text) !important; font-size: .9rem !important; line-height: 1.5 !important; color: var(--muted) !important; }
html body .dd .dd-tl p.dd-when { display: inline-block; margin-top: 4px !important; padding: 2px 10px !important; border-radius: 999px; background: var(--gold-tint); font-family: var(--f-mono) !important; font-size: .76rem !important; color: var(--gold-deep) !important; }
html body .dd .dd-tl p.dd-note { margin-top: 6px !important; }

/* Tags */
.dd-tags { display: flex; flex-wrap: wrap; gap: 10px; }
html body .dd .dd-tags li { padding: 8px 14px !important; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--f-head) !important; font-size: .88rem !important; color: var(--ink) !important; box-shadow: 0 1px 0 rgba(17, 24, 39, .03); }
.dd-tags li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* Memberships */
.dd-members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html body .dd .dd-members li { display: flex; align-items: center; gap: 12px; padding: 12px 14px !important; border: 1px solid var(--line); border-radius: 12px; font-family: var(--f-text) !important; font-size: .9rem !important; line-height: 1.45 !important; color: var(--ink) !important; }
.dd-members i { flex: 0 0 auto; color: var(--gold-deep); }

/* Patents & publications */
.dd-list { display: grid; gap: 10px; }
html body .dd .dd-list li { padding: 14px 18px !important; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; background: #fff; }
html body .dd .dd-list h4 { font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .96rem !important; line-height: 1.45 !important; color: var(--ink) !important; }
html body .dd .dd-list p { margin-top: 5px !important; font-family: var(--f-text) !important; font-size: .85rem !important; line-height: 1.5 !important; color: var(--muted) !important; }
.dd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.dd-mono { font-family: var(--f-mono); font-size: .8rem; color: var(--ink); }
.dd-pill-ok { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: #E7F5EE; color: var(--green); font-family: var(--f-head); font-weight: 600; font-size: .75rem; }
.dd-pill-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html body .dd p.dd-foot-note { margin-top: 14px !important; font-family: var(--f-text) !important; font-size: .86rem !important; color: var(--muted) !important; text-align: right !important; }

/* ---------- Duties ---------- */
.dd-duties-sec { margin-top: 28px; padding: 0; overflow: hidden; }
.dd-duties-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: end; padding: 34px 38px 26px; border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, var(--paper), #fff); }
.dd-duties-head .dd-sec__head { margin: 0; }
html body .dd p.dd-duties-intro {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px !important; border-radius: 12px;
  background: var(--navy); font-family: var(--f-head) !important; font-weight: 500 !important; font-size: .95rem !important; line-height: 1.4 !important; color: #fff !important;
}
.dd-duties-intro i { color: var(--gold); }
html body .dd ol.dd-duties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: duty; padding: 12px 22px 26px !important; }
html body .dd .dd-duties li {
  counter-increment: duty; position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start;
  margin: 0 !important; padding: 18px 16px !important; border-radius: 12px;
  font-family: var(--f-text) !important; font-size: .97rem !important; line-height: 1.65 !important; color: var(--text) !important;
  transition: background .2s ease;
}
.dd-duties li::before {
  content: counter(duty, lower-alpha); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--gold-tint); border: 1px solid #F1DDAA; color: var(--gold-deep);
  font-family: var(--f-serif); font-weight: 700; font-size: 1.15rem; line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dd-duties li:hover { background: var(--paper); }
.dd-duties li:hover::before { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.dd-duties li > span { padding-top: 7px; }

/* ---------- Welfare measures (Dean FW) ---------- */
.dd-welfare-sec { margin-top: 28px; padding: 34px 38px 38px; }
html body .dd ol.dd-welfare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: wf; }
html body .dd .dd-welfare li {
  counter-increment: wf; position: relative; padding: 20px 20px 20px 66px !important; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  font-family: var(--f-text) !important; font-size: .94rem !important; line-height: 1.65 !important; color: var(--text) !important; overflow-wrap: anywhere;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dd-welfare li::before { content: counter(wf, decimal-leading-zero); position: absolute; left: 20px; top: 19px; font-family: var(--f-serif); font-weight: 700; font-size: 1.3rem; line-height: 1; color: var(--gold); }
.dd-welfare li:hover { border-color: #E9CF8E; box-shadow: var(--shadow); }
html body .dd .dd-welfare li.dd-welfare--doc { background: var(--paper); }

/* ---------- Deanships overview (deans.php) ---------- */
.dd-statute { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 36px; padding: 24px 30px; }
.dd-statute__ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.3rem; }
html body .dd .dd-statute p { font-family: var(--f-text) !important; font-size: 1.02rem !important; line-height: 1.7 !important; color: var(--text) !important; }
html body .dd .dd-statute strong { color: var(--ink); font-weight: 700; letter-spacing: .04em; }

.dd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; margin-top: 26px; }
.dd-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.dd-card:hover { transform: translateY(-3px); border-color: #E9CF8E; box-shadow: 0 2px 4px rgba(17, 24, 39, .05), 0 22px 40px -22px rgba(11, 26, 48, .35); }
.dd-card__head { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 24px 24px 20px; background: linear-gradient(180deg, var(--paper), #fff); border-bottom: 1px solid var(--line-2); }
.dd-card__head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 75%); }
.dd-card__photo { width: 96px; height: 116px; border-radius: 12px; object-fit: cover; object-position: 50% 20%; background: var(--line-2); box-shadow: 0 10px 20px -14px rgba(11, 26, 48, .6); }
html body .dd .dd-card__role { font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .76rem !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: var(--gold-deep) !important; line-height: 1.35 !important; }
html body .dd .dd-card__name { margin-top: 6px !important; font-family: var(--f-serif) !important; font-weight: 700 !important; font-size: 1.28rem !important; line-height: 1.25 !important; color: var(--ink) !important; }
html body .dd dl.dd-card__body { flex: 1 1 auto; padding: 8px 24px 6px !important; }
.dd-card__body > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 12px 0; }
.dd-card__body > div + div { border-top: 1px dashed var(--line); }
html body .dd .dd-card__body dt { font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .72rem !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--muted) !important; }
html body .dd .dd-card__body dd { font-family: var(--f-text) !important; font-size: .93rem !important; line-height: 1.55 !important; color: var(--ink) !important; }
.dd-card__body dd > span { white-space: nowrap; }
.dd-card__foot { padding: 16px 24px 22px; }
html body .dd .dd-card__link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font-family: var(--f-head) !important; font-weight: 600; font-size: .92rem !important; color: var(--navy) !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dd-card__link i { color: var(--gold-deep); transition: transform .2s ease, color .2s ease; }
html body .dd .dd-card__link:hover { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.dd-card__link:hover i { color: var(--gold); transform: translateX(3px); }

/* ---------- Entrance animation ---------- */
@keyframes dd-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dd-hero > .dd-wrap, .dd-main > *, .dd-card, .dd-statute { animation: dd-rise .55s cubic-bezier(.2, .7, .2, 1) both; }
.dd-main > *:nth-child(2) { animation-delay: .08s; }
.dd-card:nth-child(2) { animation-delay: .05s; } .dd-card:nth-child(3) { animation-delay: .1s; }
.dd-card:nth-child(4) { animation-delay: .15s; } .dd-card:nth-child(5) { animation-delay: .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dd-main { grid-template-columns: 320px minmax(0, 1fr); gap: 22px; }
  .dd-sec { padding: 28px 28px; }
  .dd-duties-head { padding: 28px 28px 22px; }
  .dd-welfare-sec { padding: 28px; }
}
@media (max-width: 900px) {
  .dd-main { grid-template-columns: minmax(0, 1fr); }
  .dd-toc { display: none; }
  .dd-profile__wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
  .dd-profile__top { padding: 28px 0 28px 28px; background: none; }
  .dd-photo { width: 176px; margin: 0; }
  .dd-profile__body { padding: 28px 28px 28px 8px; text-align: left; }
  html body .dd .dd-name, html body .dd p.dd-desig { text-align: left !important; }
  .dd-actions { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .dd-duties-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  html body .dd ol.dd-duties, html body .dd ol.dd-welfare { grid-template-columns: minmax(0, 1fr); }
  .dd-members { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dd-wrap { width: calc(100% - 28px); }
  .dd-hero > .dd-wrap { padding: 22px 0 34px; }
  html body .dd p.dd-hero__eyebrow { margin-top: 24px !important; }
  html body .dd p.dd-hero__sub { font-size: .98rem !important; }
  .dd-hero::after { width: 360px; height: 360px; right: -160px; top: -140px; }
  .dd-main { margin-top: 22px; }
  .dd-profile__wrap { display: block; }
  .dd-profile__top { padding: 26px 20px 0; }
  .dd-photo { width: 168px; margin: 0 auto; }
  .dd-profile__body { padding: 28px 20px 22px; text-align: center; }
  html body .dd .dd-name, html body .dd p.dd-desig { text-align: center !important; }
  .dd-ids > div { grid-template-columns: 104px minmax(0, 1fr); }
  .dd-sec, .dd-welfare-sec { padding: 24px 20px; }
  .dd-duties-head { padding: 24px 20px 18px; }
  html body .dd ol.dd-duties { padding: 8px 8px 16px !important; }
  html body .dd .dd-sec__title { font-size: 1.35rem !important; }
  .dd-qual { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .dd-qual__ico { width: 40px; height: 40px; }
  html body .dd .dd-welfare li { padding: 18px 16px 18px 56px !important; }
  .dd-welfare li::before { left: 16px; }
  .dd-grid { grid-template-columns: minmax(0, 1fr); }
  .dd-card__head { grid-template-columns: 80px minmax(0, 1fr); padding: 20px; }
  .dd-card__photo { width: 80px; height: 98px; }
  html body .dd dl.dd-card__body { padding: 6px 20px !important; }
  .dd-card__foot { padding: 14px 20px 20px; }
  .dd-statute { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px 18px; }
  .dd-statute__ico { width: 44px; height: 44px; border-radius: 12px; font-size: 1.05rem; }
  html body .dd .dd-statute p { font-size: .95rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dd *, .dd *::before, .dd *::after { animation: none !important; transition: none !important; }
}
@media print {
  body.dd-body { background: #fff !important; }
  .dd-hero { background: #fff; color: #000; }
  .dd-hero::before, .dd-hero::after, .dd-hero__switch, .dd-hero__jump, .dd-actions { display: none !important; }
  html body .dd .dd-hero__title, html body .dd p.dd-hero__sub { color: #000 !important; }
  .dd-panel { box-shadow: none; }
}
