/* RELIER — corporate site. Colours sampled from the logo. */
:root {
  --orange: #e35f0c;
  --orange-dk: #c24f08;
  --blue: #1b84ae;
  --green: #5ea83a;
  --amber: #f0a020;
  --brown: #4b3a34;
  --ink: #2b211d;
  --muted: #6c5f59;
  --bg: #ffffff;
  --warm: #faf6f1;
  --line: #ece4dc;
  --radius: 12px;
  --head: "Fira Sans Condensed", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 "Fira Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.08; margin: 0 0 .45em; color: var(--brown); }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.kicker { font-family: var(--head); font-size: .95rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .7em; }
.muted { color: var(--muted); }
.ph { color: #b07a3a; background: #fdf1e3; border-radius: 4px; padding: 0 .3em; font-style: italic; }

/* buttons */
.btn { display: inline-block; background: var(--orange); color: #fff; border: 2px solid var(--orange); padding: .75em 1.5em; border-radius: 999px; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--orange-dk); border-color: var(--orange-dk); }
.btn-line { background: transparent; color: var(--brown); border-color: var(--line); }
.btn-line:hover { background: var(--warm); border-color: #d9cdc2; }
.btn-white { background: #fff; color: var(--orange); border-color: #fff; }
.btn-white:hover { background: var(--warm); border-color: var(--warm); }
.link { color: var(--orange); font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 46px; width: auto; }
.links { display: flex; align-items: center; gap: 30px; }
.links a { text-decoration: none; font-weight: 500; color: var(--brown); font-size: .98rem; position: relative; }
.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.links a:not(.btn):hover::after, .links a.active::after { transform: scaleX(1); }
.links .btn { padding: .5em 1.25em; color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--brown); transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn.open span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn.open span:last-child { top: 21px; transform: rotate(-45deg); }

/* hero */
.hero { background: var(--warm); position: relative; overflow: hidden; padding: 110px 0 120px; }
.hero .wrap { position: relative; z-index: 1; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 33em; }
.hero-mark { position: absolute; right: -90px; top: 50%; width: 560px; transform: translateY(-50%) rotate(8deg); opacity: .14; pointer-events: none; }
.hero h1 em { font-style: normal; color: var(--orange); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.colorbar { height: 6px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--green) 25% 50%, var(--amber) 50% 75%, var(--orange) 75%); }

/* page hero (inner pages) */
.page-hero { background: var(--warm); padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 0; }
.page-hero .hero-mark { width: 380px; right: -60px; }

/* facts */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.facts-grid > div { padding: 34px 24px; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { border-left: 0; padding-left: 0; }
.fact-num { font-family: var(--head); font-size: 2rem; font-weight: 600; color: var(--brown); display: block; line-height: 1.1; }
.fact-num.ph { display: inline-block; font-size: 1.6rem; margin-bottom: 4px; }
.fact-label { font-size: .88rem; color: var(--muted); display: block; }

/* sections */
.section { padding: 100px 0; }
.warm { background: var(--warm); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row h2 { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.prose p { color: var(--muted); font-size: 1.07rem; }

/* businesses */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-grid.two { grid-template-columns: repeat(2, 1fr); }
.biz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.biz::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c, var(--orange)); }
.biz:hover { box-shadow: 0 16px 40px -20px rgba(75,58,52,.35); transform: translateY(-2px); }
.biz-tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--orange)); margin-bottom: 14px; }
.biz p { color: var(--muted); flex: 1; }
.biz .link { color: var(--c, var(--orange)); }
.c-blue { --c: var(--blue); } .c-green { --c: var(--green); } .c-amber { --c: #c98310; } .c-orange { --c: var(--orange); }

/* principles */
.pr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pr { padding-top: 22px; border-top: 3px solid var(--c); }
.pr h3 { font-size: 1.3rem; }
.pr p { color: var(--muted); margin: 0; font-size: .98rem; }

/* leadership */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--warm); display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 1.3rem; color: var(--orange); margin-bottom: 18px; }
.person h3 { margin-bottom: .15em; font-size: 1.25rem; }
.person .role { color: var(--orange); font-size: .92rem; font-weight: 500; margin-bottom: .8em; }
.person p { color: var(--muted); font-size: .95rem; margin: 0; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 32px 32px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.timeline .yr { font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: var(--brown); }
.timeline p { color: var(--muted); margin: 0; }

/* mark meaning */
.mark-row { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }

/* band */
.band { background: var(--orange); color: #fff; padding: 64px 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 .2em; }
.band p { margin: 0; color: rgba(255,255,255,.88); }

/* lists */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* contact */
.details { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; margin: 28px 0 0; }
.details dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.details dd { margin: 0; }
.form { background: var(--warm); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--brown); }
.form input, .form textarea, .form select { font: inherit; font-size: .98rem; padding: .7em .9em; border-radius: 8px; border: 1px solid #ddd2c7; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }

/* footer */
.footer { background: #2b211d; color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.f-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--head); font-weight: 600; font-size: 1.6rem; letter-spacing: .04em; }
.f-brand img { width: 44px; height: 44px; }
.f-tag { margin: 12px 0 0; }
.footer h4 { font-family: var(--head); font-weight: 600; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .ph { background: rgba(255,255,255,.08); color: #e9b77d; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.legal p { margin: 0; }

/* problem / why cards */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.why { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.why .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--warm); margin-bottom: 18px; }
.why .icon svg { width: 24px; height: 24px; stroke: var(--c, var(--orange)); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why p { color: var(--muted); margin: 0; }

/* model steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.steps li::before { content: counter(s); font-family: var(--head); font-weight: 600; font-size: 1.1rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c, var(--orange)); margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--brown); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* vision & mission */
.vm { background: var(--brown); padding: 88px 0; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 36px; border-top: 4px solid var(--green); }
.vm-card + .vm-card { border-top-color: var(--orange); }
.vm-card .kicker { color: var(--amber); }
.vm-card h3 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 500; line-height: 1.3; margin: 0; }

/* corporate details */
.corp { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.corp > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.corp > div:nth-child(odd) { padding-right: 24px; }
.corp dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.corp dd { margin: 0; font-weight: 500; color: var(--brown); }

/* farmers' corner: stage jump bar */
.stagebar { position: sticky; top: 80px; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.stagebar .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.stagebar .wrap::-webkit-scrollbar { display: none; }
.stagebar a { flex: none; text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--brown); padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; white-space: nowrap; }
.stagebar a:hover, .stagebar a.on { background: var(--orange); border-color: var(--orange); color: #fff; }

/* stages */
.stage { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.stage:first-child { border-top: 0; }
.stage-head .num { font-family: var(--head); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--c, var(--orange)); display: block; }
.stage-head h3 { font-size: 1.6rem; margin: 10px 0 6px; }
.stage-head .when { display: inline-block; font-size: .82rem; font-weight: 500; color: var(--brown); background: var(--warm); border-radius: 999px; padding: .3em .85em; }
.stage-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tip { background: var(--warm); border-radius: var(--radius); padding: 22px 24px; }
.tip h4 { font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--brown); margin: 0 0 10px; }
.tip ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .96rem; }
.tip li { margin-bottom: 6px; }
.tip.avoid { background: #fdf0ea; }
.tip.avoid h4 { color: var(--orange-dk); }
.tip.wide { grid-column: 1 / -1; }

/* season planner */
.planner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.planner-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; align-items: end; }
.planner-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--brown); }
.planner-form input, .planner-form select { font: inherit; font-size: .98rem; padding: .7em .9em; border-radius: 8px; border: 1px solid #ddd2c7; background: #fff; color: var(--ink); width: 100%; }
.planner-form input:focus, .planner-form select:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.plan { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.plan li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.plan .d { font-family: var(--head); font-weight: 600; color: var(--orange); font-size: 1.05rem; }
.plan .d small { display: block; font-family: "Fira Sans", sans-serif; font-weight: 400; color: var(--muted); font-size: .78rem; }
.plan strong { color: var(--brown); font-weight: 500; }
.plan p { margin: 2px 0 0; color: var(--muted); font-size: .94rem; }
.plan-empty { color: var(--muted); margin: 20px 0 0; }
.plan-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

/* seasons table */
.seasons { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .97rem; }
.seasons th, .seasons td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.seasons th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.seasons td:first-child { font-weight: 500; color: var(--brown); }

.helpline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.helpline .why h3 { margin-bottom: .3em; }

@media print {
  .nav, .colorbar, .stagebar, .footer, .band, .page-hero, .planner-form, .plan-actions, .no-print { display: none !important; }
  .section { padding: 16px 0; }
}

/* Tamil header: longer labels, so collapse the menu earlier */
html:lang(ta) .links a { font-family: "Noto Sans Tamil", "Fira Sans", sans-serif; font-size: .9rem; }
html:lang(ta) .links { gap: 18px; }
@media (max-width: 1280px) {
  html:lang(ta) .menu-btn { display: block; }
  html:lang(ta) .links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(0,0,0,.2); }
  html:lang(ta) .links.open { display: flex; }
  html:lang(ta) .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  html:lang(ta) .links a:not(.btn)::after { display: none; }
  html:lang(ta) .links a.active { color: var(--orange); }
  html:lang(ta) .links .lang-link { align-self: flex-start; margin-top: 10px; padding: .35em 1em; border-bottom: 1.5px solid var(--orange); }
  html:lang(ta) .links .btn { margin-top: 14px; text-align: center; border-bottom: 0; align-self: flex-start; padding: .6em 1.6em; }
}

/* lab reports */
.report-form { background: var(--warm); border-radius: var(--radius); padding: 26px; }
.report-form label { display: block; font-size: .88rem; font-weight: 500; color: var(--brown); margin-bottom: 8px; }
.report-input { display: flex; gap: 10px; flex-wrap: wrap; }
.report-input input { flex: 1 1 200px; font: inherit; font-size: 1.05rem; letter-spacing: .04em; padding: .7em .9em; border-radius: 8px; border: 1px solid #ddd2c7; background: #fff; color: var(--ink); text-transform: uppercase; }
.report-input input::placeholder { text-transform: none; letter-spacing: 0; }
.report-input input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
#reportResult:not(:empty) { margin-top: 20px; }
.report-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.report-card.ok { border-top: 5px solid var(--green); }
.report-card.miss { background: #fdf0ea; border-color: #f3d3c3; }
.report-status { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 600; font-size: 1.35rem; color: var(--brown); margin-bottom: 18px; }
html:lang(ta) .report-status { font-family: "Noto Sans Tamil", var(--head); font-size: 1.15rem; }
.report-status .tick { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
.recent { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.recent li a { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.recent li a span { color: var(--muted); font-size: .92rem; }
.recent li a:hover strong { color: var(--orange); }

/* businesses */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; }
.flow-step { position: relative; background: var(--c); color: #fff; font-weight: 500; font-size: .95rem; text-align: center; padding: 22px 26px 22px 34px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%); display: grid; place-items: center; min-height: 84px; line-height: 1.3; }
.flow-step:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); border-radius: 10px 0 0 10px; padding-left: 20px; }
.flow-step:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%); border-radius: 0 10px 10px 0; }
.biz-list { display: grid; gap: 22px; }
.biz-row { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: var(--radius); padding: 34px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; scroll-margin-top: 100px; }
.biz-row .biz-tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin-bottom: 10px; }
.biz-row h3 { font-size: 1.7rem; }
.biz-row-head p { color: var(--muted); }
.biz-links { display: flex; gap: 22px; flex-wrap: wrap; }
.biz-row .link { color: var(--c); }
.biz-row .ticks li::before { background-color: var(--c); }
.lang-link { font-weight: 600 !important; color: var(--orange) !important; border: 1.5px solid var(--orange); border-radius: 999px; padding: .3em .9em; }
.lang-link::after { display: none !important; }
@media (max-width: 960px) {
  .biz-row { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .flow { grid-template-columns: 1fr; gap: 6px; }
  .flow-step, .flow-step:first-child, .flow-step:last-child { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px)); border-radius: 10px 10px 0 0; padding: 16px 20px 26px; min-height: 0; }
  .flow-step:last-child { clip-path: none; border-radius: 0 0 10px 10px; padding-bottom: 16px; }
}
@media (max-width: 1024px) { .links .lang-link { align-self: flex-start; margin-top: 10px; padding: .35em 1em; border-bottom: 1.5px solid var(--orange); } }

/* Tamil */
.lang-switch { margin-top: 22px !important; }
.lang-switch a { display: inline-block; font-weight: 500; color: var(--orange); text-decoration: none; border: 1.5px solid var(--orange); border-radius: 999px; padding: .4em 1.1em; font-size: 1rem; }
.lang-switch a:hover { background: var(--orange); color: #fff; }
.lang-switch a[lang="ta"], main:lang(ta), .page-hero:lang(ta) { font-family: "Noto Sans Tamil", "Fira Sans", sans-serif; }
html:lang(ta) main h1, html:lang(ta) main h2, html:lang(ta) main h3, html:lang(ta) main h4, html:lang(ta) .kicker, html:lang(ta) .page-hero h1 { font-family: "Noto Sans Tamil", var(--head); }
html:lang(ta) .page-hero { font-family: "Noto Sans Tamil", "Fira Sans", sans-serif; }
html:lang(ta) .page-hero h1 { font-size: clamp(1.9rem, 5vw, 3.3rem); line-height: 1.25; }
html:lang(ta) main h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.3; }
html:lang(ta) main h3 { line-height: 1.35; }
html:lang(ta) .kicker { letter-spacing: .02em; text-transform: none; }
html:lang(ta) main { line-height: 1.75; }
html:lang(ta) .stage-head .num { font-family: var(--head); }

.qr-art svg { width: 100%; max-width: 200px; display: block; border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(75,58,52,.5); }
@media (max-width: 1100px) { .links { gap: 20px; } .links a { font-size: .92rem; } }
@media (max-width: 1024px) {
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(0,0,0,.2); }
  .links.open { display: flex; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .links a:not(.btn)::after { display: none; }
  .links a.active { color: var(--orange); }
  .links .btn { margin-top: 14px; text-align: center; border-bottom: 0; align-self: flex-start; padding: .6em 1.6em; }
}

/* responsive */
@media (max-width: 960px) {
  .two-col, .mark-row { grid-template-columns: 1fr; gap: 36px; }
  .mark-row img { max-width: 200px; }
  .biz-grid, .biz-grid.two, .people, .why-grid { grid-template-columns: 1fr; }
  .steps, .steps[style] { grid-template-columns: 1fr 1fr !important; }
  .qr-art svg { max-width: 140px; }
  .pr-grid, .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-mark { opacity: .09; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-inner { height: 68px; }
  .brand img { height: 36px; }
  .hero { padding: 72px 0 80px; }
  .page-hero { padding: 56px 0 52px; }
  .section { padding: 72px 0; }
  .pr-grid, .steps, .steps[style] { grid-template-columns: 1fr !important; gap: 24px; }
  .vm-grid, .corp { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; scroll-margin-top: 130px; }
  .stage-body, .helpline { grid-template-columns: 1fr; }
  .stagebar { top: 68px; }
  .planner { padding: 22px; }
  .planner-form { grid-template-columns: 1fr; }
  .plan li { grid-template-columns: 1fr; gap: 4px; }
  .seasons { font-size: .9rem; }
  .seasons th, .seasons td { padding: 10px 6px; }
  .vm { padding: 64px 0; }
  .vm-card { padding: 28px; }
  .form .row { grid-template-columns: 1fr; }
  .facts-grid > div { padding: 24px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(0,0,0,.2); }
  .links.open { display: flex; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .links a:not(.btn)::after { display: none; }
  .links a.active { color: var(--orange); }
  .links .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* QR row and Tamil sizing fixes */
.mark-row.qr { grid-template-columns: 200px 1fr; }
@media (max-width: 960px) { .mark-row.qr { grid-template-columns: 1fr; } }
html:lang(ta) .hero h1 { font-size: clamp(1.8rem, 6.4vw, 3.6rem); line-height: 1.25; }
html:lang(ta) .fact-num { font-family: "Noto Sans Tamil", var(--head); font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.3; }
html:lang(ta) main, html:lang(ta) .page-hero { overflow-wrap: anywhere; }
.links a { white-space: nowrap; }
html:lang(ta) .links { gap: 16px; }
html:lang(ta) .links a { font-size: .86rem; }
