/* ==========================================================================
   Maraikkaadu · site design layer (2050 standard)
   Farm green and soil. One straw-gold accent. Two families: PT Serif for
   headings (earthy, sure), Noto Sans for reading. Tamil falls back to the
   Unicode Tamil faces already loaded by the page.
   Loaded last, so it overrides the older layers in the page head.
   ========================================================================== */

:root {
  /* palette: soil, paddy, leaf */
  --leaf: #2F5D34;
  --leaf-dark: #1E3B24;
  --leaf-soft: #E4EEDA;
  --leaf-mist: #CFE3C0;
  --soil: #4E3A2C;
  --soil-soft: #8A6F5A;
  --straw: #E8B84A;
  --straw-soft: #FBF0D2;
  --cream: #F5EFE0;
  --paper: #FFFCF4;
  --ink: #26301F;
  --muted: #6E5C4A;
  --line: #E2D6BE;
  --red: #9B2D20;

  --radius: 18px;
  --shadow: 0 8px 24px rgba(30, 59, 36, .10);
  --shadow-lg: 0 18px 40px rgba(30, 59, 36, .16);

  /* the scroll engine reads these */
  --sc-canvas: #F5EFE0;
  --sc-surface: #FFFCF4;
  --sc-ink: #26301F;
  --sc-ink-soft: #6E5C4A;
  --sc-accent: #E8B84A;
  --sc-accent-ink: #1E3B24;
  --sc-font-display: "PT Serif", "RupeeSign", "Uni Title", Georgia, serif;
  --sc-font-text: "Noto Sans", "RupeeSign", "Uni Text", system-ui, sans-serif;
}

/* ---------- ground and type ---------- */
body.site {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sc-font-text);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.site h1, body.site h2, body.site h3 {
  font-family: var(--sc-font-display);
  color: var(--leaf-dark);
  letter-spacing: -.01em;
  line-height: 1.18;
  font-weight: 700;
}
body.site h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); margin: .2em 0 .3em; }
body.site h2 { font-size: clamp(1.6rem, 3.3vw, 2.35rem); margin: .3em 0 .5em; }
body.site h3 { font-size: 1.2rem; }
body.site .section-title { text-align: center; margin: 0 0 22px; }
body.site section { padding: 64px 0; }
body.site :lang(ta) h1, body.site :lang(ta) h2, body.site :lang(ta) h3 { font-family: "PT Serif", "RupeeSign", "Uni Title", "Noto Sans", serif; }
body.site .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--soil); max-width: 620px; }

/* ---------- header ---------- */
body.site header {
  background: rgba(245, 239, 224, .94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
body.site .brand { color: var(--leaf-dark); font-family: var(--sc-font-display); font-weight: 700; }
body.site .nav nav a {
  color: var(--soil);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1rem !important;
}
body.site .nav nav a:hover { background: var(--leaf-soft); color: var(--leaf-dark); text-decoration: none; }
body.site[data-page="home"] .nav nav a[data-page="home"],
body.site[data-page="shop"] .nav nav a[data-page="shop"],
body.site[data-page="mill"] .nav nav a[data-page="mill"],
body.site[data-page="about"] .nav nav a[data-page="about"],
body.site[data-page="portal"] .nav nav a[data-page="portal"],
body.site[data-page="membership"] .nav nav a[data-page="portal"] { background: var(--leaf); color: #fff; }
body.site .lang-btn { background: var(--leaf); color: #fff; box-shadow: none; }
body.site .lang-btn:hover { background: var(--leaf-dark); transform: none; }

/* ---------- buttons ---------- */
body.site .btn {
  background: var(--straw);
  color: var(--leaf-dark);
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(232, 184, 74, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.site .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232, 184, 74, .42); }
body.site .btn.dark { background: var(--leaf); color: #fff; box-shadow: 0 6px 16px rgba(47, 93, 52, .28); }
body.site .btn.dark:hover { background: var(--leaf-dark); }
body.site .btn.light { background: #fff; color: var(--leaf-dark); box-shadow: 0 6px 16px rgba(30, 59, 36, .14); }
body.site .btn:focus-visible, body.site a:focus-visible, body.site button:focus-visible, body.site input:focus-visible, body.site select:focus-visible {
  outline: 3px solid var(--straw); outline-offset: 2px;
}

/* ---------- cards and panels ---------- */
body.site .panel, body.site .card, body.site .mv-card, body.site .plan, body.site .stat, body.site .mlcard, body.site .step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
body.site .mv-card { border-top: 6px solid var(--leaf); }
body.site .mv-card.vision { border-top-color: var(--straw); }
body.site .mv-card .mv-ico { font-size: 2rem; }
body.site .plan.best { border: 2px solid var(--straw); box-shadow: var(--shadow-lg); }
body.site .choice { background: var(--paper); border: 1px solid var(--line); border-bottom: 6px solid var(--leaf); box-shadow: var(--shadow); color: var(--leaf-dark); }
body.site .stat b { color: var(--leaf); font-family: var(--sc-font-display); }
body.site .tile { border-radius: var(--radius); }

/* ---------- the layered scene (hero) ----------
   Planes at different depths. Each carries data-sc-parallax; the engine moves
   them at their own rate as the visitor scrolls. The copy stays on one plane
   so it never fights the art. */
body.site .scene {
  position: relative;
  min-height: clamp(560px, 88vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 170px;
  background: linear-gradient(180deg, #B9DBA9 0%, #DCEDCB 46%, #F5EFE0 100%);
  isolation: isolate;
}
body.site .scene__sun {
  position: absolute; right: 12%; top: 14%; width: clamp(110px, 16vw, 190px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFF7D6 0%, #F7D477 45%, rgba(232, 184, 74, .0) 72%);
  z-index: 0;
}
body.site .scene__plane { position: absolute; left: -5%; right: -5%; pointer-events: none; z-index: 1; }
body.site .scene__svg { display: block; width: 100%; height: 100%; }
body.site .scene__far { bottom: 22%; height: 34%; }
body.site .scene__far .scene__svg { height: 100%; }
body.site .scene__mid { bottom: 9%; height: 26%; }
body.site .scene__front { bottom: 3%; height: 40%; z-index: 2; }
body.site .scene__soil {
  position: absolute; left: 0; right: 0; bottom: 0; height: 12%; z-index: 2;
  background: linear-gradient(180deg, #6B4F3A 0%, #4E3A2C 100%);
}
body.site .scene__soil::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(232, 184, 74, .0) 0 26px, rgba(232, 184, 74, .35) 26px 30px);
  opacity: .5;
}
body.site .scene .wrap { position: relative; z-index: 3; }
body.site .scene h1 { color: var(--leaf-dark); max-width: 14ch; text-shadow: 0 1px 0 rgba(255, 252, 244, .6); }
body.site .scene .lead { color: var(--soil); }
body.site .scene .eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 252, 244, .75); color: var(--leaf-dark); font-weight: 700; font-size: .92rem;
  border: 1px solid rgba(47, 93, 52, .25);
}
body.site .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
body.site .hero-cta .btn { margin: 0; }

/* the mill's scene is dusk over the paddy with the chimney on the far plane */
body.site .scene.scene--mill { background: linear-gradient(180deg, #CFE2B8 0%, #EFE6CC 52%, #F5EFE0 100%); }
body.site .scene.scene--mill .scene__sun { background: radial-gradient(circle at 40% 40%, #FFEFC2 0%, #E8B84A 60%, rgba(232, 184, 74, 0) 74%); }

/* ---------- the pinned argument (mission) ---------- */
body.site .argument { position: relative; height: 100%; }
/* each line has its own full-size layer, so the engine can move the line itself */
body.site .argument .al {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 22px; text-align: center;
}
body.site .argument p {
  margin: 0; max-width: 900px;
  font-family: var(--sc-font-display); font-weight: 700; color: var(--leaf-dark);
  font-size: clamp(1.7rem, 4.6vw, 3.2rem); line-height: 1.22;
}
body.site .argument p small { display: block; margin-top: 12px; font-family: var(--sc-font-text); font-weight: 400; font-size: clamp(1rem, 2vw, 1.2rem); color: var(--soil); }

/* ---------- live numbers and goal ---------- */
body.site .statbar { background: var(--leaf-dark); color: #fff; padding: 46px 0 34px; }
body.site .statbar b { color: var(--straw); font-family: var(--sc-font-display); }
body.site .statbar span { color: #E4EEDA; }
body.site .goalbar { margin-top: 30px; text-align: center; }
body.site .goal-t { color: #fff; }
body.site .goal-track { background: rgba(255, 252, 244, .14); border: 1px solid rgba(232, 184, 74, .4); }
body.site .goal-fill { background: linear-gradient(90deg, var(--straw), #9BCB7A); }
body.site .goal-n { color: #E4EEDA; }

/* ---------- soil band for "how it works" and mill spotlight ---------- */
body.site .soil-band { background: var(--soil); color: #F7F1E3; }
body.site .spot {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg);
  padding: clamp(22px, 4vw, 44px); overflow: hidden; position: relative;
}
body.site .spot::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 184, 74, .35), rgba(232, 184, 74, 0) 70%);
}
body.site .spot ul { margin: 14px 0 0; padding-left: 20px; color: var(--soil); }
body.site .spot ul li { margin: 6px 0; }
body.site .spot .spot-art { position: relative; z-index: 1; border-radius: 20px; background: linear-gradient(180deg, #CFE3C0, #6E9E5A 60%, #4E3A2C); min-height: 220px; overflow: hidden; }

/* ---------- mill page parts ---------- */
body.site .mlgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
body.site .mlcard { padding: 20px; border-top: 6px solid var(--leaf); }
body.site .mlcard b { color: var(--leaf-dark); font-family: var(--sc-font-display); font-size: 1.1rem; display: block; margin-bottom: 6px; }
body.site .mlcard span { color: var(--soil); }

/* ---------- forms ---------- */
body.site input, body.site select, body.site textarea {
  border-radius: 12px; border: 1px solid #CDBFA5; background: #fff; color: var(--ink);
}
body.site input:focus, body.site select:focus, body.site textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(47, 93, 52, .15); outline: none; }

/* ---------- footer ---------- */
body.site footer { background: var(--leaf-dark); color: #E4EEDA; padding: 32px 0; }
body.site footer a { color: var(--straw); }

/* ---------- motion: the engine reveals with class sc-in; without it nothing hides ---------- */
@media (prefers-reduced-motion: reduce) {
  body.site .btn { transition: none; }
  body.site .btn:hover { transform: none; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  body.site section { padding: 46px 0; }
  body.site .scene { min-height: 620px; padding: 96px 0 150px; }
  body.site .scene__sun { right: 6%; top: 8%; }
  body.site .scene h1 { max-width: 12ch; }
  body.site .spot { grid-template-columns: 1fr; }
  body.site .argument p { font-size: clamp(1.45rem, 7vw, 2rem); }
  body.site .scene__front { height: 34%; }
}

/* spotlight art: the mill plane fills its card */
body.site .spot-art { min-height: 240px; }
body.site .spot-art .scene__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
body.site .argue-act { position: relative; }

/* copy sits on the grid, left aligned (an older layer justified paragraphs) */
body.site p, body.site li { text-align: left; }
body.site .scene .wrap { max-width: 1100px; text-align: left; }
body.site .scene h1, body.site .scene .lead { margin-left: 0; margin-right: auto; }
body.site .argument p { text-align: center; }
/* the header logo is the green wordmark on cream, on every page */
body.site .brand img, body.site #siteLogo { filter: none !important; }
body.site .lead, body.site .scene .lead { text-align: left !important; }
@media (max-width: 760px) { body.site .lang-btn { padding: 6px 10px; font-size: .9rem; } }

/* ---------- real photographs ---------- */
body.site .scene--photo .scene__sun, body.site .scene--photo .scene__far, body.site .scene--photo .scene__mid { display: none; }
body.site .scene__photo {
  left: 0; right: 0; top: -8%; bottom: -8%; z-index: 0;
  background-size: cover; background-position: center 60%; background-repeat: no-repeat;
}
body.site .scene--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 239, 224, .92) 0%, rgba(245, 239, 224, .78) 38%, rgba(245, 239, 224, .12) 78%),
              linear-gradient(180deg, rgba(245, 239, 224, 0) 70%, rgba(245, 239, 224, .9) 100%);
}
body.site .scene--photo .scene__front { opacity: .55; }
body.site .spot .spot-art { background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 280px; }
body.site .spot .spot-art .scene__svg { display: none; }
body.site .feat {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg);
  padding: clamp(18px, 3vw, 34px); overflow: hidden;
}
body.site .feat__img { border-radius: 20px; overflow: hidden; border-bottom: 6px solid var(--leaf); }
body.site .feat__img img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; }
body.site .tile { background-size: cover; background-position: center; }
@media (max-width: 760px) {
  body.site .feat { grid-template-columns: 1fr; }
  body.site .scene--photo::before { background: linear-gradient(180deg, rgba(245, 239, 224, .88) 0%, rgba(245, 239, 224, .7) 55%, rgba(245, 239, 224, .35) 100%); }
}
body.site .spot .lead, body.site .feat .lead, body.site .spot h2, body.site .feat h2 { text-align: left !important; }
body.site .feat .btn, body.site .spot .btn { margin-left: 0; }

/* ---------- farmer slideshow ---------- */
body.site .fshow { position: relative; aspect-ratio: 4 / 5; max-height: 520px; background: #DCE8CF; }
body.site .fshow__stage, body.site .fslide { position: absolute; inset: 0; }
body.site .fslide { opacity: 0; transition: opacity .7s ease; pointer-events: none; }
body.site .fslide.on { opacity: 1; pointer-events: auto; }
body.site .fshow .fslide img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 20%; }
body.site .fslide__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 5rem; background: linear-gradient(180deg, #CFE3C0, #6E9E5A); }
body.site .fslide__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 46px; color: #fff;
  background: linear-gradient(180deg, rgba(20, 30, 20, 0), rgba(20, 30, 20, .85));
}
body.site .fslide__cap h3 { margin: 0 0 4px; color: #fff; font-size: 1.2rem; text-align: left; }
body.site .fslide__cap p { margin: 2px 0; font-size: .92rem; color: #F5EFE0; text-align: left; }
body.site .fslide__meta { color: var(--straw) !important; font-weight: 700; }
body.site .fshow__btn {
  position: absolute; top: 42%; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 252, 244, .88); color: var(--leaf-dark); font-size: 1.5rem; line-height: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
body.site .fshow__prev { left: 10px; } body.site .fshow__next { right: 10px; }
body.site .fshow__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
body.site .fshow__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; }
body.site .fshow__dots button.on { background: var(--straw); width: 22px; border-radius: 6px; }
body.site .fshow--one .fshow__btn, body.site .fshow--one .fshow__dots { display: none; }

/* ==========================================================================
   Round 2: Tamil hero, no stalks, newsletter alignment, hover shrink, underline nav
   ========================================================================== */

/* hero: copy block fills the grid and starts at the left edge of the page column */
body.site .scene .wrap { width: 100%; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
body.site .scene h1 { max-width: 18ch; }

/* the green paddy sticks (front plane) are gone; a soft mist melts the photo into the soil */
body.site .scene--photo .scene__front { display: none; }
body.site .scene--photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12%; height: 22%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 239, 224, 0), rgba(245, 239, 224, .55));
}

/* Tamil hero: readable subtitle and buttons (the display face made them tiny) */
body.site:lang(ta) .scene h1, html[lang="ta"] body.site .scene h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.3; max-width: 16em;
}
html[lang="ta"] body.site .scene .lead, html[lang="ta"] body.site .scene .eyebrow {
  font-family: "Noto Sans Tamil", "Noto Sans", "Uni Text", system-ui, sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.6; font-weight: 600; color: var(--leaf-dark);
}
html[lang="ta"] body.site .hero-cta .btn {
  font-family: "Noto Sans Tamil", "Noto Sans", "Uni Text", system-ui, sans-serif; font-size: 1.2rem; font-weight: 700; padding: 15px 32px; line-height: 1.4;
}
html[lang="ta"] body.site .nav nav a { font-size: 1.1rem !important; }

/* newsletter: heading was dark-on-dark and the text and form sat on different baselines */
body.site .nl { padding: 56px 0; }
body.site .nl-in { align-items: center; gap: 28px 40px; }
body.site .nl h2, body.site .nl h2 * { color: #fff; margin: 0 0 8px; text-align: left; }
body.site .nl p { color: #E4EEDA; opacity: 1; margin: 0; text-align: left; }
body.site .nl-form { align-items: center; }
body.site .nl-form .note { margin: 0; min-height: 1.2em; }
html[lang="ta"] body.site .nl h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; }
html[lang="ta"] body.site .nl p, html[lang="ta"] body.site .nl .btn { font-family: "Noto Sans Tamil", "Noto Sans", "Uni Text", sans-serif; }

/* navigation: selected page gets an underline, not a green block */
body.site .nav nav a { position: relative; background: transparent !important; border-radius: 0; padding: 8px 6px; margin-left: 16px; }
body.site .nav nav a::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--straw); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
body.site .nav nav a:hover { color: var(--leaf-dark); }
body.site .nav nav a:hover::after { transform: scaleX(1); }
body.site[data-page="home"] .nav nav a[data-page="home"],
body.site[data-page="shop"] .nav nav a[data-page="shop"],
body.site[data-page="mill"] .nav nav a[data-page="mill"],
body.site[data-page="about"] .nav nav a[data-page="about"],
body.site[data-page="portal"] .nav nav a[data-page="portal"],
body.site[data-page="membership"] .nav nav a[data-page="portal"] { background: transparent !important; color: var(--leaf-dark); }
body.site[data-page="home"] .nav nav a[data-page="home"]::after,
body.site[data-page="shop"] .nav nav a[data-page="shop"]::after,
body.site[data-page="mill"] .nav nav a[data-page="mill"]::after,
body.site[data-page="about"] .nav nav a[data-page="about"]::after,
body.site[data-page="portal"] .nav nav a[data-page="portal"]::after,
body.site[data-page="membership"] .nav nav a[data-page="portal"]::after { transform: scaleX(1); background: var(--leaf); }
@media (max-width: 760px) { body.site .nav nav a { margin-left: 0; } body.site .nav nav a::after { right: auto; width: 36px; } }

/* hover: tiles and cards shrink a touch under the pointer, and press in on click */
body.site .tile, body.site .choice, body.site .card, body.site .mv-card, body.site .plan, body.site .mlcard,
body.site .step, body.site .spot, body.site .feat, body.site .stat, body.site .card-m, body.site .sitePick {
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease;
  will-change: transform;
}
body.site .tile:hover, body.site .choice:hover, body.site .card:hover, body.site .mv-card:hover, body.site .plan:hover,
body.site .mlcard:hover, body.site .step:hover, body.site .spot:hover, body.site .feat:hover, body.site .stat:hover,
body.site .card-m:hover { transform: scale(.965); box-shadow: var(--shadow); }
body.site .tile:active, body.site .choice:active, body.site .card:active { transform: scale(.94); }
body.site .tile { overflow: hidden; background-size: cover; background-position: center; }
body.site .tile:hover { background-size: 108%; }
body.site .btn:active, body.site .lang-btn:active { transform: scale(.95); }
body.site .btn:hover { transform: scale(.96); }
body.site .lang-btn:hover { transform: scale(.96); }
body.site .fshow__btn { transition: transform .2s; }
body.site .fshow__btn:hover { transform: scale(.88); }

@media (prefers-reduced-motion: reduce) {
  body.site .tile, body.site .choice, body.site .card, body.site .mv-card, body.site .plan, body.site .mlcard,
  body.site .step, body.site .spot, body.site .feat, body.site .stat, body.site .card-m, body.site .nav nav a::after { transition: none; }
  body.site .tile:hover, body.site .choice:hover, body.site .card:hover, body.site .mv-card:hover, body.site .btn:hover { transform: none; }
}

/* Tamil sizes: win over the older font layers */
html[lang="ta"] body.site .scene .lead { font-size: clamp(1.4rem, 2.6vw, 1.8rem) !important; }
html[lang="ta"] body.site .hero-cta .btn { font-size: 1.3rem !important; padding: 16px 34px !important; }
html[lang="ta"] body.site .nl p { font-size: 1.15rem; }
html[lang="ta"] body.site .nl .btn { font-size: 1.15rem; padding: 14px 28px; }
html[lang="ta"] body.site .nl-form input { font-size: 1.1rem; }
html[lang="ta"] body.site .nav nav a, html[lang="ta"] body.site .lang-btn { font-size: 1.15rem !important; }

/* ---------- hero depth (scroll-craft): pointer drift + drifting mist ---------- */
body.site .scene { --px: 0; --py: 0; }
body.site .scene__photo { translate: calc(var(--px) * -18px) calc(var(--py) * -10px); transition: translate .5s cubic-bezier(.2,.7,.2,1); }
body.site .scene--photo .scene__mid { translate: calc(var(--px) * 12px) calc(var(--py) * 6px); transition: translate .5s cubic-bezier(.2,.7,.2,1); }
body.site .scene__mist {
  display: none; left: -10%; right: -10%; bottom: 10%; height: 34%; z-index: 2;
  background:
    radial-gradient(60% 55% at 22% 70%, rgba(255, 252, 244, .55), transparent 70%),
    radial-gradient(50% 50% at 72% 60%, rgba(255, 244, 214, .45), transparent 70%);
  filter: blur(14px); animation: mist-drift 22s ease-in-out infinite alternate;
}
body.site .scene--photo .scene__mist { display: block; }
body.site .scene--mill .scene__mist { display: none; }
@keyframes mist-drift { from { translate: -4% 0; } to { translate: 4% -3%; } }
@media (prefers-reduced-motion: reduce) { body.site .scene__mist { animation: none; } body.site .scene__photo, body.site .scene--photo .scene__mid { translate: none; transition: none; } }

/* ==========================================================================
   Round 3
   ========================================================================== */

/* ---------- header: language switch, Sign in, Register ---------- */
body.site .hdr-actions { display: flex; align-items: center; gap: 10px; }
body.site .lang-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center;
  width: 104px; height: 38px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; box-shadow: inset 0 1px 3px rgba(30, 59, 36, .18), 0 6px 14px -6px rgba(30, 59, 36, .35);
  font: inherit; font-weight: 700; font-size: .92rem; isolation: isolate;
}
body.site .lang-switch .ls-opt { position: relative; z-index: 2; text-align: center; color: var(--soil-soft); transition: color .25s; line-height: 38px; font-family: "Noto Sans Tamil", "Uni Text", "Noto Sans", sans-serif; }
body.site .lang-switch .ls-knob {
  position: absolute; z-index: 1; top: 3px; left: 3px; width: calc(50% - 3px); height: 32px; border-radius: 999px;
  background: linear-gradient(180deg, #3E7545, #2F5D34); box-shadow: 0 4px 10px -2px rgba(30, 59, 36, .55);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
body.site .lang-switch[data-lang="ta"] .ls-opt:first-child, body.site .lang-switch[data-lang="en"] .ls-opt:nth-child(2) { color: #fff; }
body.site .lang-switch[data-lang="en"] .ls-knob { transform: translateX(100%); }
body.site .lang-switch:hover { transform: scale(.97); background: #fff; }
body.site .hdr-btn {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease;
  font-family: "Noto Sans Tamil", "Uni Text", "Noto Sans", sans-serif;
}
body.site .hdr-signin { background: #fff; color: var(--leaf-dark); box-shadow: 0 6px 16px -6px rgba(30, 59, 36, .4), 0 1px 0 rgba(255, 255, 255, .9) inset; }
body.site .hdr-reg { background: linear-gradient(180deg, #F4CB6A, #E1A93A); color: var(--leaf-dark); box-shadow: 0 8px 18px -6px rgba(200, 140, 20, .6), 0 1px 0 rgba(255, 255, 255, .55) inset; }
body.site .hdr-btn:hover { transform: scale(.96); text-decoration: none; }
body.site .hdr-btn:active { transform: scale(.93); }
@media (max-width: 760px) {
  body.site .hdr-actions { gap: 6px; }
  body.site .lang-switch { width: 86px; height: 34px; font-size: .8rem; }
  body.site .lang-switch .ls-opt { line-height: 34px; }
  body.site .lang-switch .ls-knob { height: 28px; }
  body.site .hdr-btn { height: 34px; padding: 0 11px; font-size: .82rem; }
}
@media (max-width: 480px) { body.site .hdr-signin { display: none; } }

/* ---------- buttons: stylish, with depth ---------- */
body.site .btn {
  position: relative; overflow: hidden; border: 0; letter-spacing: .2px;
  background: linear-gradient(180deg, #F6D077 0%, #E4AC3C 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -2px 0 rgba(150, 100, 10, .18) inset, 0 12px 22px -8px rgba(200, 140, 20, .65), 0 2px 4px rgba(30, 59, 36, .12);
}
body.site .btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
  transition: left .6s ease; pointer-events: none;
}
body.site .btn:hover::before { left: 130%; }
body.site .btn.dark {
  background: linear-gradient(180deg, #3E7545 0%, #2A5330 100%); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 -2px 0 rgba(0, 0, 0, .18) inset, 0 12px 22px -8px rgba(30, 59, 36, .7), 0 2px 4px rgba(30, 59, 36, .15);
}
body.site .btn.light {
  background: rgba(255, 255, 255, .92); color: var(--leaf-dark); backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 #fff inset, 0 12px 22px -8px rgba(30, 59, 36, .45), 0 2px 4px rgba(30, 59, 36, .1);
}
body.site .btn:disabled { filter: grayscale(.6); opacity: .6; }
body.site .hero-cta .btn { padding: 16px 34px; font-size: 1.05rem; }
body.site .hero-cta .btn::after { content: "\2192"; margin-left: 10px; display: inline-block; transition: transform .25s ease; }
body.site .hero-cta .btn:hover::after { transform: translateX(5px); }
html[lang="ta"] body.site .hero-cta .btn::after { margin-left: 12px; }

/* ---------- hero fills the screen; no soil strip ---------- */
body.site .scene__soil { display: none; }
body.site .scene { min-height: calc(100svh - 64px); padding: 100px 0; }
body.site .scene--photo::before {
  background: linear-gradient(90deg, rgba(245, 239, 224, .92) 0%, rgba(245, 239, 224, .74) 36%, rgba(245, 239, 224, .08) 74%);
}
body.site .scene--photo::after { display: none; }
body.site .scene--photo .scene__mist { bottom: 0; }
body.site .scene--photo .scene__mid, body.site .scene--photo .scene__far { display: none; }
body.site .scene--compact { min-height: clamp(300px, 46vh, 420px); padding: 70px 0 60px; }
@media (max-width: 760px) { body.site .scene { min-height: calc(100svh - 56px); padding: 80px 0 90px; } body.site .scene--compact { min-height: 300px; } }

/* ---------- no gold underlines or accent rules anywhere ---------- */
body.site .section-title::after, .section-title::after { content: none !important; display: none !important; }
body.site .section-title { padding-bottom: 0; }
body.site .why-block { border-bottom: 0; }
body.site .road-step { border-left: 0; box-shadow: var(--shadow); }
body.site .mv-card, body.site .mv-card.vision, body.site .mlcard { border-top: 1px solid var(--line); }
body.site .mv-card.vision { background: var(--leaf); border-color: var(--leaf); }
body.site .mv-card.vision h3 { color: var(--straw); }
body.site .reviews .card { border-top: 1px solid var(--line); }
body.site .scene__soil::before { display: none; }

/* ---------- shop ---------- */
body.site .scene--shop h1 { max-width: 14em; }
body.site .loc-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 9px 18px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, .9); color: var(--leaf-dark); font-weight: 700;
  box-shadow: 0 10px 20px -8px rgba(30, 59, 36, .45); transition: transform .2s;
}
body.site .loc-chip:hover { transform: scale(.96); text-decoration: none; }
body.site .shop-body { padding-top: 40px; }
body.site .shop-tiles { gap: 10px; margin-bottom: 28px; }
body.site .shop-tiles .tile { flex: 0 0 auto; height: auto; padding: 11px 22px; border-radius: 999px; box-shadow: 0 10px 18px -8px rgba(30, 59, 36, .5); align-items: center; }
body.site .shop-tiles .tile::after { background: none; }
body.site .shop-tiles .tile span { font-weight: 700; font-size: .98rem; }
body.site .shop-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 320px)); justify-content: center; }
body.site .shop-grid .card { display: flex; flex-direction: column; }
body.site .shop-grid .card .pimg { border-radius: 14px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- mill ---------- */
body.site #mbKg { width: 150px; max-width: 100%; }
body.site #milBookBox input[type="number"] { width: 150px; max-width: 100%; }

/* ---------- member portal: dashboard on the left, account bar on the right ---------- */
body.site #page-portal .wrap { max-width: 1280px; }
body.site .portal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
body.site .portal-side {
  position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 14px;
  min-height: calc(100vh - 120px); padding: 22px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--line);
}
body.site .portal-side .panel { border: 0; box-shadow: none; background: transparent; padding: 0; max-width: none; margin: 0; }
body.site .portal-side .fprofile, body.site .portal-side .fprofile-info { grid-template-columns: 1fr; }
body.site .portal-side .fprofile-photo { max-height: 220px; }
body.site .portal-logout { margin-top: auto; width: 100%; }
body.site .portal-main .section-title { text-align: left; }
@media (max-width: 960px) {
  body.site .portal-layout { grid-template-columns: 1fr; }
  body.site .portal-side { position: static; min-height: 0; order: -1; }
}
body.site .hdr-btn, body.site .lang-switch .ls-opt { font-family: "Noto Sans", "Uni Text", system-ui, sans-serif; letter-spacing: 0; word-spacing: 0; }

/* header stays on one row on desktop, also in Tamil */
html[lang="ta"] body.site .nav nav a { font-size: 1.02rem !important; }
@media (min-width: 981px) { body.site .nav { flex-wrap: nowrap; } body.site .nav nav { display: flex; align-items: center; white-space: nowrap; } body.site .nav nav a { margin-left: 8px; } }
/* about hero: light type on the dark green band (the page-wide heading colour made it unreadable) */
body.site .hero2 h1, body.site .hero2 .lead { color: #fff; }
body.site .hero2 .lead { color: #F4EAD8; }
body.site .farmer-welcome { margin-bottom: 18px; }
body.site #page-farmer .wrap { max-width: 1280px; }
body.site .farmer-welcome h3 { margin-top: 0; }
body.site .portal-main .mv-grid .choice { text-align: center; text-decoration: none; padding: 22px 12px; }

/* Order booked popup */
.pop-back{position:fixed;inset:0;z-index:9999;background:rgba(20,30,20,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.pop-card{background:#FFFBF0;color:#2b2b2b;border-radius:18px;max-width:380px;width:100%;padding:26px 22px;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.35);border:1px solid #e6d9b0}
.pop-card h3{margin:8px 0 10px;color:#355E3B}
.pop-card p{margin:6px 0}
.pop-card .btn{margin-top:14px}
.pop-tick{width:56px;height:56px;margin:0 auto;border-radius:50%;background:#355E3B;color:#fff;font-size:32px;line-height:56px}
