:root {
  --maroon: #4a1220; --maroon-2: #66203a; --turmeric: #e8a317; --turmeric-soft: #fff1cc;
  --paper: #fffefb; --ink: #2a2226; --muted: #6b5f64; --line: #e6d9c3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Mukta Malar", "Segoe UI", Tahoma, sans-serif; font-size: 1.0625rem; line-height: 1.7; }
a { color: var(--maroon-2); }
a:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; }
h1, h2, h3 { font-family: "Tiro Tamil", Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.25; }
img { max-width: 100%; }

/* top bar */
.topbar { background: var(--maroon); color: #fff; }
.topbar .inner { max-width: 1120px; margin: 0 auto; padding: .75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar .logos { display: flex; align-items: center; gap: 1rem; }
.topbar img { display: block; height: 38px; width: auto; max-width: 150px; }
.call { background: var(--turmeric); color: #2b1a00; text-decoration: none; font-weight: 600; padding: .45rem 1.1rem; border-radius: 999px; white-space: nowrap; }
.call:hover { background: #f4b72f; }

/* hero */
.hero { background: var(--maroon); color: #fff; padding: 2.5rem 1.25rem 3.5rem; }
.hero .inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.who { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1.25rem; }
.who .photo { width: 99px; height: 90px; object-fit: cover; border-radius: 6px; border: 2px solid var(--turmeric); flex: none; }
.who p { margin: 0; color: #f1d9b0; line-height: 1.4; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1rem; }
.hero .lede { font-size: 1.15rem; color: #f6e8d0; max-width: 34rem; margin: 0 0 1.75rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-block; padding: .65rem 1.4rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.btn.primary { background: var(--turmeric); color: #2b1a00; }
.btn.primary:hover { background: #f4b72f; }
.btn.ghost { border: 1.5px solid #e9c987; color: #fff; }
.btn.ghost:hover { background: var(--maroon-2); }
.tv { margin: 0; }
.tv img, .tv .tbm { display: block; width: 100%; height: auto; border: 2px solid var(--turmeric); border-radius: 6px; }
.tv figcaption { margin-top: .6rem; color: #f1d9b0; font-size: .95rem; }

/* page layout */
main { max-width: 1120px; margin: 0 auto; padding: 3rem 1.25rem 2rem; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3rem; align-items: start; }
main h2 { font-size: 1.65rem; color: var(--maroon); margin: 0 0 1rem; padding-left: .85rem; border-left: 4px solid var(--turmeric); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem 1.25rem; background: #fff; }
.card h3 { font-size: 1.2rem; color: var(--maroon); margin: 0 0 .5rem; }
.card p { margin: 0; font-size: 1rem; line-height: 1.6; }
.card .thumb { float: left; width: 64px; height: 64px; object-fit: cover; border-radius: 6px; margin: .2rem .9rem .4rem 0; }
.card .more { display: inline-block; margin-top: .4rem; font-weight: 600; }
.pro { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.pro a { display: block; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; background: #fff; line-height: 1.35; }
.pro a:hover { background: var(--turmeric-soft); border-color: var(--turmeric); }
.side { position: sticky; top: 1.25rem; background: var(--turmeric-soft); border: 1px solid var(--turmeric); border-radius: 10px; padding: 1.25rem 1.4rem; }
.side h2 { font-size: 1.2rem; border: 0; padding: 0; margin: 0 0 .4rem; }
.side ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.side li { padding: .2rem 0; line-height: 1.4; }
.side ul:last-child { margin-bottom: 0; }

footer { background: var(--maroon); color: #f1d9b0; padding: 2rem 1.25rem; font-size: .95rem; }
footer .inner { max-width: 1120px; margin: 0 auto; }
footer p { margin: 0 0 .4rem; }
footer a { color: #fff; }
.elsewhere { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem 2.5rem; }
.elsewhere a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; }

@media (max-width: 900px) {
  .hero .inner, main { grid-template-columns: 1fr; gap: 2rem; }
  .side { position: static; order: -1; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .pro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar .logos img:first-child { max-width: 120px; }
  .topbar .call { padding: .4rem .85rem; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
