/* ARIJ — palette taken from the ARC seal: oxblood ring, bronze, temple gold */
:root { color-scheme: light;
  --pond: #6e1a0c;
  --pond-deep: #4a0f06;
  --mist: #fbeee0;
  --lotus: #a85a00;
  --lotus-deep: #8a4600;
  --leaf: #9a5800;
  --gold: #e3a20b;
  --page: #fdf8f1;
  --paper: #fff;
  --ink: #2b1a14;
  --muted: #6f5a50;
  --line: #ecdbc6;
  --display: "Marcellus", "Noto Serif Tamil", Georgia, serif;
  --text: "Alegreya", "Noto Serif Tamil", Georgia, serif;
  --menu: "Mukta Malar", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 18px/1.7 var(--text); color: var(--ink); background: var(--page); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; color: var(--pond); }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.2rem; }
a { color: var(--lotus-deep); text-underline-offset: .15em; }
a:hover { color: var(--lotus); }
img { max-width: 100%; }
main { min-height: 60vh; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); padding: 8px; z-index: 99; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* buttons */
.btn { display: inline-block; font: 600 .95rem/1.2 var(--text); padding: 10px 18px; border-radius: 4px; border: 1.5px solid var(--pond); color: var(--pond); background: none; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--pond); color: #fff; }
.btn.solid { background: var(--lotus); border-color: var(--lotus); color: #fff; }
.btn.solid:hover { background: var(--lotus-deep); border-color: var(--lotus-deep); }

/* header */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.masthead-in { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.emblem { width: 58px; height: 58px; flex: none; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font: 400 1.45rem/1.15 var(--display); color: var(--pond); }
.brand small { color: var(--muted); font-size: .9rem; }
.menu-btn { display: none; font-size: 1.5rem; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 2px 12px; cursor: pointer; color: var(--pond); }

.nav ul { list-style: none; margin: 0 auto; padding: 0; }
.nav > ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav li { position: relative; }
.nav a { display: block; padding: 8px 0 10px; color: var(--ink); text-decoration: none; font: 500 .98rem/1.6 var(--menu); letter-spacing: .01em; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--lotus-deep); }
.nav > ul > li > a.active { border-color: var(--lotus); color: var(--pond); font-weight: 600; }
.has-sub > a::after { content: " ▾"; font-size: .7em; color: var(--muted); }
/* drop-down: a light cream panel with faint gold ripples, lotus-petal markers that turn bronze on hover / current page */
.has-sub ul { display: none; position: absolute; top: 100%; left: -18px; z-index: 5; min-width: 250px; padding: 10px 0; border-radius: 8px;
  background: var(--paper) repeating-radial-gradient(circle at 100% 100%, transparent 0 28px, #e3a20b14 29px 30px);
  border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 18px 36px #4a0f061f; }
.has-sub ul::before { content: ""; position: absolute; top: -8px; left: 30px; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); border-radius: 2px 0 0 0; }
.has-sub ul a { position: relative; padding: 8px 20px 8px 40px; border: 0; color: var(--ink); font-size: .95rem; line-height: 1.4; white-space: nowrap; }
.has-sub ul a::before { content: ""; position: absolute; left: 18px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 0 50% 0 50%; background: var(--line); transform: rotate(-45deg); }
.has-sub ul a:hover { color: var(--lotus-deep); background: var(--mist); }
.has-sub ul a:hover::before, .has-sub ul a.active::before { background: var(--lotus); }
.has-sub ul a.active { color: var(--lotus-deep); font-weight: 600; }
.has-sub:hover ul, .has-sub:focus-within ul { display: block; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .has-sub:hover ul, .has-sub:focus-within ul { animation: none; } }

/* hero: title on warm cream at the left, photos shown untinted on the right, fading in from the cream */
.hero { position: relative; color: var(--ink); overflow: hidden; background: var(--mist); min-height: clamp(480px, 72vh, 660px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-slides img { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: center 25%; opacity: 0; transition: opacity 1.2s; mask: linear-gradient(90deg, #0000, #000 30%); }
.hero-slides img.on { opacity: 1; animation: drift 7s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-slides img.on { animation: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  repeating-radial-gradient(circle at 8% 110%, transparent 0 46px, #e3a20b1f 47px 48px),
  linear-gradient(90deg, #fbeee0 0%, #fbeee0f2 36%, #fbeee000 52%),
  linear-gradient(0deg, #fbeee0e6 0%, #fbeee000 18%); }
.hero-in, .hero-foot { position: relative; z-index: 2; }
.hero-in { padding-top: 64px; padding-bottom: 28px; }
.hero h1 { color: var(--pond); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; max-width: 14ch; margin-bottom: .4em; }
.hero p { color: var(--ink); max-width: 34em; font-size: 1.15rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.quote { margin-top: 32px; padding-left: 16px; border-left: 2px solid var(--gold); font-family: "Noto Serif Tamil", serif; color: var(--lotus-deep); }
.quote small { display: block; color: var(--muted); font-family: var(--text); font-style: italic; font-size: .95rem; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; border-top: 1px solid var(--line); }
.hero .hero-cap { margin: 0; max-width: 60em; font-size: .9rem; font-style: italic; color: var(--muted); }
.hero-nav { display: flex; align-items: center; gap: 10px; flex: none; font-family: var(--display); }
.hero-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--pond); background: none; color: var(--pond); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.hero-nav button:hover { background: var(--lotus); border-color: var(--lotus); color: #fff; }
.count { min-width: 3.2em; text-align: center; color: var(--leaf); }

.journal-cover { text-decoration: none; margin: 0 0 28px; width: min(230px, 100%); aspect-ratio: 210 / 297; background: repeating-linear-gradient(0deg, transparent 0 5px, #8a6a3a12 5px 6px), linear-gradient(160deg, #f3e6c4, #e2c991); color: #6e1a0c; border-radius: 2px 6px 6px 2px; padding: 20px 18px 14px 26px; display: flex; flex-direction: column; transform: rotate(-2deg); box-shadow: 0 18px 40px #6e1a0c40, 0 2px 0 #d9d3c4; position: relative; }
.journal-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: var(--lotus); }
.journal-cover .mast { font-family: var(--display); font-size: 2.5rem; line-height: 1; letter-spacing: .04em; color: #6e1a0c; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.journal-cover .full { font-family: var(--display); font-size: .82rem; line-height: 1.3; margin-top: 8px; }
.journal-cover svg { width: 70%; height: auto; margin: auto; color: var(--lotus); }
.journal-cover .issue { display: flex; justify-content: space-between; gap: 6px; font-size: .75rem; border-top: 1px solid #b8935a; padding-top: 6px; color: #6b5532; }
.journal-cover .issue b { color: var(--lotus-deep); }

/* facts strip under hero: dark oxblood band with faint gold ripples, petal markers, fading gold dividers */
.facts-strip { border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  background: repeating-radial-gradient(circle at 100% 50%, #e3a20b00 0 38px, #e3a20b14 39px 40px), linear-gradient(90deg, var(--pond-deep), var(--pond)); }
.facts-strip dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0; }
.facts-strip dl > div { position: relative; padding: 20px 16px 20px 24px; }
.facts-strip dl > div:first-child { padding-left: 0; }
.facts-strip dl > div + div::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(#e3a20b00, var(--gold), #e3a20b00); }
.facts-strip dt { display: flex; align-items: center; gap: 8px; color: #f0c674; font: 600 .78rem/1.4 var(--menu); letter-spacing: .08em; text-transform: uppercase; }
.facts-strip dt::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 0 50% 0 50%; background: var(--gold); transform: rotate(-45deg); }
.facts-strip dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.15rem; color: #fff8ef; }

/* sections */
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
/* page banner: soft gold rays on the right, like the sunburst behind the flame in the ARC seal */
.page-head { position: relative; overflow: hidden; padding: 26px 0 34px; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 88% 50%, #e3a20b33, #e3a20b00 340px), var(--mist); }
.page-head::before { content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 88% 50%, #e3a20b2e 0 3deg, #e3a20b00 3deg 10deg);
  mask: radial-gradient(circle at 88% 50%, #000 40px, #0000 420px); }
.page-head .wrap { position: relative; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.page-head h1 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
.page-head h1::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--lotus)); }

.prose { max-width: 44em; }
.prose p { margin: 0 0 1em; }
.prose h2 { margin-top: 1.4em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }

.glance { border-top: 3px solid var(--pond); padding-top: 14px; }
.glance h3 { font-size: 1.1rem; }
.glance dl { margin: 0; font-size: .95rem; }
.glance dt { color: var(--muted); font-size: .85rem; margin-top: 10px; }
.glance dd { margin: 0; color: var(--ink); font-weight: 500; }

.launch { background: var(--mist); border-left: 4px solid var(--leaf); padding: 16px 20px; }
.launch b { font-family: var(--display); font-weight: 400; color: var(--pond); font-size: 1.1rem; }
.launch p { margin: 4px 0 0; }

/* hairline lists (areas, policies, board) */
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); column-gap: 48px; }
.area-list li { border-top: 1px solid var(--line); padding: 18px 0 18px 30px; position: relative; }
.area-list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 12px; border-radius: 0 50% 0 50%; background: var(--lotus); transform: rotate(-45deg); }
.area-list h3 { margin: 0 0 4px; }
.area-list p { margin: 0; color: var(--muted); font-size: .98rem; }
.area-list .tag { margin-top: 8px; }
.people { grid-template-columns: 1fr; }
.people h3 { text-wrap: balance; }
.people li { padding-left: 0; display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-content: start; }
.people li::before { content: none; }
.people li > :not(.side) { grid-column: 2; }
.side { grid-row: 1 / span 9; display: grid; gap: 8px; align-content: start; }
.photo { position: relative; width: 96px; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; display: grid; place-items: center; background: var(--mist); border: 1px solid var(--line); color: var(--lotus-deep); font: 1.6rem var(--display); }
.people a { overflow-wrap: anywhere; }
.contact { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 12px; padding: 10px 14px; background: var(--mist); border-left: 3px solid var(--gold); border-radius: 0 4px 4px 0; font: .92rem/1.5 var(--menu); }
.contact > div { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.contact > div > div { display: grid; min-width: 0; }
.contact svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--pond); fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact a { text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { text-decoration: underline; }
.cv-link { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 5px 6px; text-align: center; border: 1.5px solid var(--pond); border-radius: 99px; font: 600 .8rem/1.2 var(--menu); color: var(--pond); text-decoration: none; }
.cv-link svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--pond); fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: .8rem; padding: 1px 10px; border-radius: 99px; background: var(--mist); color: var(--pond); }

/* parent institution band */
.arc-band { background: var(--mist); }
.arc-grid { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
.arc-emblem { width: 200px; height: 200px; border-radius: 50%; box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--gold); }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; }
.about-photo figcaption { color: var(--muted); font-size: .9rem; font-style: italic; line-height: 1.45; padding-top: 8px; }
.about-photo { margin-bottom: 28px; }

/* announcements */
.news-list { display: grid; }
.news { display: grid; grid-template-columns: 130px 1fr; gap: 20px; border-top: 1px solid var(--line); padding: 18px 0; }
.news time { color: var(--leaf); font-weight: 600; font-size: .95rem; }
.news h3 { margin-bottom: 4px; }
.news h3 a { color: var(--pond); }
.news p { margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 2fr) 1fr; gap: 56px; align-items: start; }
.panel ul { padding-left: 18px; margin: 0; }
.panel li { margin-bottom: 8px; }

/* tables */
.table-wrap { overflow-x: auto; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--pond); font-family: var(--display); font-weight: 400; border-bottom: 2px solid var(--pond); white-space: nowrap; }

/* sequences: review workflow, history */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 32px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 24px 58px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--pond); background: var(--paper); color: var(--pond); font-family: var(--display); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 38px; bottom: 0; width: 2px; background: var(--line); }
.steps b { display: block; color: var(--pond); }
.steps span { color: var(--muted); }

.ticks { padding-left: 0; list-style: none; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 0 50% 0 50%; background: var(--lotus); transform: rotate(-45deg); }
.vision { font-family: var(--display); font-size: 1.35rem; line-height: 1.5; color: var(--pond); border-left: 4px solid var(--gold); padding-left: 20px; margin: 0 0 32px; }

/* contact */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: inherit; color: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.notice { background: var(--mist); padding: 12px 16px; }
.notice pre { white-space: pre-wrap; font: inherit; background: var(--paper); padding: 10px 12px; margin: 8px 0; }
.notice p { margin: 0; }

/* footer */
.footer { background: var(--mist); border-top: 3px solid var(--gold); color: var(--muted); margin-top: 56px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer h3 { color: var(--pond); font-size: 1.3rem; }
.footer h4 { color: var(--leaf); font-size: 1.05rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--lotus-deep); text-decoration: underline; }
.trust { display: flex; align-items: center; gap: 12px; text-decoration: none; margin: 14px 0; }
.trust img { width: 48px; height: 48px; flex: none; border-radius: 50%; }
.trust span { display: flex; flex-direction: column; line-height: 1.3; }
.trust small { color: var(--muted); font-size: .82rem; }
.trust b { color: var(--pond); font-weight: 500; }
.footer-base { border-top: 1px solid var(--line); padding: 14px 0; font-size: .85rem; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .menu-btn { display: block; }
  .head-actions { display: none; }
  .brand strong { font-size: 1.1rem; }
  .emblem { width: 48px; height: 48px; }
  .nav { display: none; border-top: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; padding: 6px 16px 12px; }
  .nav a { border: 0; padding: 8px 0; }
  .nav > ul > li > a.active { color: var(--lotus-deep); }
  .has-sub ul { display: block; position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; background: none; padding: 0 0 4px; margin-left: 4px; }
  .has-sub:hover ul, .has-sub:focus-within ul { animation: none; }
  .has-sub ul::before { display: none; }
  .has-sub ul a { padding: 6px 0 6px 30px; }
  .has-sub ul a::before { left: 12px; }
  .has-sub ul a:hover { background: none; }
  .has-sub > a::after { content: ""; }
  .split, .two-col, .arc-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; justify-content: flex-start; background: var(--mist); }
  .hero-slides { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
  .hero-slides img { width: 100%; mask: none; }
  .hero::before { display: none; }
  .hero-in { padding-top: 28px; }
  .hero-foot { align-items: flex-start; }
  .arc-emblem { width: 120px; height: 120px; }
  .facts-strip dl > div { border-top: 1px solid #ffffff1f; padding-left: 0; }
  .facts-strip dl > div:first-child { border-top: 0; }
  .facts-strip dl > div + div::before { display: none; }
  .news { grid-template-columns: 1fr; gap: 2px; }
}

/* language switch */
.lang { font: 600 .95rem/1.2 var(--text); padding: 9px 14px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--paper); color: var(--pond); cursor: pointer; }
.lang:hover { border-color: var(--pond); }
html[lang="en"] .lang { font-family: "Noto Serif Tamil", serif; }

/* Tamil: smaller, airier text; Tamil serif for headings (Marcellus has no Tamil glyphs) */
html[lang="ta"] { --display: "Noto Serif Tamil", Georgia, serif; }
html[lang="ta"] body { font-size: 16px; line-height: 1.9; }
html[lang="ta"] :is(h1, h2, h3, h4) { font-weight: 600; line-height: 1.45; }
html[lang="ta"] .hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 20ch; }
html[lang="ta"] .brand strong { font-size: 1.15rem; }
html[lang="ta"] .nav > ul { gap: 2px 16px; }
html[lang="ta"] .nav a { font-size: .9rem; }
html[lang="ta"] .facts-strip dd { font-size: 1rem; }
html[lang="ta"] .journal-cover .full { font-size: .72rem; }
@media (max-width: 900px) { html[lang="ta"] .brand strong { font-size: .95rem; } }
.hero > .wrap { width: 100%; }
.split .glance { border-top: 0; padding-top: 0; }
.split .glance h3 { border-top: 3px solid var(--pond); padding-top: 14px; }
html[lang="ta"] .hero h1 { max-width: 640px; }
html[lang="ta"] .nav > ul { gap: 2px 11px; }
html[lang="ta"] .nav a { font-size: .84rem; }
@media (max-width: 600px) { .brand small, .hero .hero-cap { display: none; } .hero-foot { justify-content: flex-end; } }


/* text pages with an "On this page" box */
.doc { display: grid; grid-template-columns: minmax(0, 44em) 240px; justify-content: space-between; gap: 56px; align-items: start; }
.doc :is(h2, h3) { scroll-margin-top: 150px; }
.toc { position: sticky; top: 150px; border-top: 3px solid var(--pond); padding-top: 10px; font-size: .92rem; max-height: calc(100vh - 170px); overflow-y: auto; }
.toc summary { font-family: var(--display); color: var(--pond); font-size: 1.05rem; cursor: pointer; }
.toc ul { list-style: none; padding: 0; margin: 8px 0 0; }
.toc li { border-left: 2px solid var(--line); padding: 3px 0 3px 12px; line-height: 1.35; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--lotus-deep); }

/* issues and articles */
.prose h2 small { font-family: var(--text); font-size: 1rem; color: var(--muted); margin-left: 6px; }
.contents { list-style: none; padding: 0; margin: 0 0 32px; }
.contents li { display: grid; border-top: 1px solid var(--line); padding: 14px 0; }
.contents a { font-family: var(--display); font-size: 1.15rem; color: var(--pond); text-decoration: none; line-height: 1.3; }
.contents a:hover { color: var(--lotus-deep); }
.contents .kind { color: var(--muted); font-size: .9rem; }
.art-meta { color: var(--muted); font-size: .95rem; }
.art-meta .tag { margin-right: 6px; }
.authors { list-style: none; padding: 0; margin: 0 0 20px; }
.authors li { margin-bottom: 4px; color: var(--muted); }
.authors b { color: var(--ink); margin-right: 4px; }
.cite { background: var(--mist); border-left: 4px solid var(--gold); padding: 14px 18px; }
.cite p { margin: 0 0 10px; }

@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 0; }
  .toc { order: -1; position: static; max-height: none; margin-bottom: 24px; }
}

/* print: just the page content, black on white */
@media print {
  :root { --pond: #000; --ink: #000; --muted: #333; --line: #aaa; --mist: #f2f2f2; --page: #fff; --paper: #fff; --lotus-deep: #000; }
  .masthead, .footer, .hero, .toc, .btn, .crumbs, .skip { display: none !important; }
  body { font-size: 11pt; }
  .page-head { padding: 0 0 8pt; border-bottom: 1pt solid #000; }
  .page-head::before, .page-head h1::after { display: none; }
  .section { padding: 12pt 0; }
  .doc { display: block; }
  .prose { max-width: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; }
  h2, h3 { break-after: avoid; }
}
