/* ============ Sudha Rani Farms – green & yellow theme ============ */
:root {
  --green-900: #12301a;
  --green-800: #1d4a26;
  --green-700: #256b31;
  --green-500: #43a047;
  --green-300: #9ccc65;
  --green-100: #e8f5d9;
  --yellow-500: #f5c518;
  --yellow-400: #ffd84d;
  --yellow-100: #fff8d6;
  --cream: #fffdf3;
  --ink: #17251a;
  --muted: #55665a;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(18, 48, 26, .35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.center { text-align: center; }
.narrow { max-width: 640px; margin-inline: auto; }
.lead { font-size: 1.12rem; color: var(--muted); }
.kicker {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-700); margin-bottom: .8em;
}
.kicker.center { display: block; }
.kicker.light { color: var(--yellow-400); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow-500); color: var(--green-900); box-shadow: 0 10px 24px -10px rgba(245, 197, 24, .9); }
.btn-yellow:hover { background: var(--yellow-400); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-ghost { border-color: var(--green-800); color: var(--green-800); background: rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled { background: rgba(255, 253, 243, .9); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -14px rgba(0,0,0,.3); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark img, .footer-logo { width: 54px; height: 54px; display: block; border-radius: 50%; box-shadow: 0 4px 12px -4px rgba(18,48,26,.4); }
.footer-logo { width: 42px; height: 42px; }
.footer-branches a { color: var(--yellow-400); text-decoration: none; }
.footer-branches a:hover { text-decoration: underline; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--green-800); line-height: 1; }
.brand-text em { font-style: normal; color: #c62828; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); margin-left: 40px; } /* keep clear of the name */
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--green-900); position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--yellow-500); transition: right .25s; }
.nav-links a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--green-900); margin: 6px auto; border-radius: 2px; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 25%, rgba(255, 216, 77, .55), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(156, 204, 101, .45), transparent 60%),
    linear-gradient(180deg, #fffbe3 0%, #fbf6dc 55%, #f3e6b8 100%);
}
.hero::before { /* sun */
  content: ""; position: absolute; width: 240px; height: 240px; right: 9%; top: 12%;
  border-radius: 50%; background: radial-gradient(circle, #ffe680 0%, #ffd84d 45%, rgba(255,216,77,0) 70%);
  animation: sun 6s ease-in-out infinite alternate;
}
@keyframes sun { to { transform: scale(1.08); opacity: .85; } }
#hen-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s; }
.hero.scene-ready #hen-canvas { opacity: 1; }

.hero-copy {
  position: relative; z-index: 2; pointer-events: none;
  width: min(1180px, 100% - 32px); margin-inline: auto;
  padding-top: clamp(120px, 18vh, 190px);
}
.hero-copy > * { max-width: 560px; }
.hero-copy .btn { pointer-events: auto; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.location-pill {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--green-800); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: 0 6px 16px -8px rgba(18,48,26,.6);
}
.location-pill { pointer-events: auto; text-decoration: none; transition: transform .2s, background .2s; }
.location-pill:hover { background: var(--green-700); transform: translateY(-2px); }
.pill-arrow { color: var(--yellow-400); font-size: .85em; }
.location-pill svg { width: 18px; height: 18px; fill: #e5383b; stroke: #fff; stroke-width: 1.4; }
.maps-link { display: block; color: #fff; text-decoration: none; }
.maps-cta { display: block; margin-top: 2px; font-size: .82rem; font-weight: 700; color: var(--yellow-400); }
.maps-link:hover .maps-cta { text-decoration: underline; }
.footer-map { color: inherit; text-decoration: none; }
.footer-map:hover { color: var(--yellow-400); }
.location-pill svg circle { fill: #fff; stroke: none; }
.eyebrow { margin: 0;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem;
  background: rgba(255,255,255,.7); padding: 6px 14px; border-radius: 999px; color: var(--green-800);
  box-shadow: 0 4px 14px -8px rgba(0,0,0,.25);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(67,160,71,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(67,160,71,0); } 100% { box-shadow: 0 0 0 0 rgba(67,160,71,0); } }

.quote {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem); color: var(--green-900); margin: .45em 0 .4em;
  min-height: 3.5em; font-weight: 800; position: relative;
}
.quote .word { display: inline-block; opacity: 0; transform: translateY(.4em) scale(.96); filter: blur(6px); }
.quote.in .word { animation: wordIn .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 70ms); }
.quote.out .word { animation: wordOut .45s ease forwards; animation-delay: calc(var(--i) * 25ms); opacity: 1; filter: none; transform: none; }
.quote .hl { color: var(--green-700); background: linear-gradient(transparent 62%, var(--yellow-400) 62%); padding: 0 .08em; }
.quote.flash::after {
  content: ""; position: absolute; inset: -20px; pointer-events: none;
  background: radial-gradient(circle at 20% 50%, rgba(255,230,120,.65), transparent 60%);
  animation: flash .9s ease-out forwards;
}
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-.3em); filter: blur(4px); } }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }
.hero-sub { font-size: 1.12rem; color: #2f4233; font-weight: 500; text-shadow: 0 0 12px #fffdf3, 0 0 4px #fffdf3; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

.cluck {
  position: absolute; z-index: 3; pointer-events: none;
  background: #fff; color: var(--green-900); font-family: var(--font-display); font-weight: 800;
  padding: 8px 16px; border-radius: 18px; box-shadow: var(--shadow);
  transform: translate(-50%, -100%) scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.cluck::after { content: ""; position: absolute; left: 50%; bottom: -8px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; transform: translateX(-50%); }
.cluck.show { transform: translate(-50%, -100%) scale(1); }
.hero-hint {
  position: absolute; z-index: 2; font-weight: 600; font-size: .85rem; white-space: nowrap;
  left: var(--nest-x, 74%); top: calc(var(--nest-y, 80%) + 0.55 * var(--u, 110px)); translate: -50% 0; /* just below the nest */
  background: rgba(255,255,255,.75); padding: 6px 12px; border-radius: 999px; color: var(--green-800);
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s;
}
.hero-hint.show { opacity: 1; transform: none; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 28px; height: 46px;
  border: 2px solid var(--green-800); border-radius: 20px; transform: translateX(-50%);
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green-800); animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.hero.no-3d #hen-canvas { display: none; }

/* ---------- chick & feed sack that travel between pages ---------- */
.hero-slot {
  position: absolute; z-index: 1; pointer-events: none; aspect-ratio: 1;
  left: calc(var(--nest-x, 74%) + var(--dx) * var(--u, 110px));
  top: calc(var(--nest-y, 80%) + var(--dy) * var(--u, 110px));
  width: calc(var(--s) * var(--u, 110px) * 1.6);
  transform: translate(-50%, -80%); /* image feet sit on the ground point */
}
.travellers { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.traveller { position: absolute; left: 0; top: 0; width: 200px; height: 200px; opacity: 0; transform-origin: 50% 50%; will-change: transform; filter: drop-shadow(0 12px 10px rgba(90, 60, 0, .22)); }
.drag-cursor { position: absolute; left: 0; top: 0; width: 26px; opacity: 0; transition: opacity .2s; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }

/* the wavy yellow "Healthy chicks. Our own feed." page */
.essentials { position: relative; background: #fbe39b; padding: 70px 0 90px; margin: 46px 0; }
.essentials::before, .essentials::after {
  content: ""; position: absolute; left: 0; right: 0; height: 46px; background-repeat: repeat-x; background-size: 600px 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 46' preserveAspectRatio='none'%3E%3Cpath d='M0 24 C75 4 150 4 225 22 S375 44 450 24 S560 6 600 24 V46 H0Z' fill='%23fbe39b'/%3E%3C/svg%3E");
}
.essentials::before { top: -45px; }
.essentials::after { bottom: -45px; transform: scaleY(-1); }
.essentials h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.hl-word { background: linear-gradient(transparent 62%, #fff 62%); padding: 0 .1em; }
.ess-row { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 5vw, 80px); margin-top: 26px; }
.ess-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ess-slot {
  width: clamp(150px, 21vw, 250px); aspect-ratio: 1; border: 0; padding: 0; cursor: pointer; border-radius: 50%;
  background: radial-gradient(ellipse 42% 12% at 50% 82%, rgba(120, 80, 0, .16), transparent 70%);
}
.ess-amp { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.5rem); color: #e8a400; margin-bottom: 60px; }
.ess-card {
  font: inherit; cursor: pointer; border: 0; background: #fff; border-radius: 14px; padding: 10px 18px;
  box-shadow: 0 10px 22px -12px rgba(90, 60, 0, .45); transform: rotate(-2deg); transition: transform .25s;
  display: flex; flex-direction: column; align-items: center; color: var(--green-900);
}
.ess-item:last-child .ess-card { transform: rotate(2deg); }
.ess-card:hover { transform: translateY(-3px) rotate(0); }
.ess-card strong { font-family: var(--font-display); font-size: 1.05rem; }
.ess-card span { font-size: .82rem; font-weight: 700; color: var(--green-700); }

/* where each one lands on its own page */
.dest-slot { width: 170px; aspect-ratio: 1; margin: -30px auto -10px; }
.dest-slot.dest-left { width: 180px; margin: -40px 0 0 -14px; }

/* ---------- marquee ---------- */
.marquee { background: var(--green-800); color: var(--yellow-400); overflow: hidden; padding: 16px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span::before { content: "✦"; margin-right: 48px; color: var(--green-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- broiler ---------- */
.broiler-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.broiler-visual { position: relative; }
.photo-frame {
  position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow); background: var(--green-100);
  transform: rotate(-2deg);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.badge-float {
  position: absolute; right: -14px; top: 14%;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 18px;
  background: var(--yellow-500); color: var(--green-900); box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 600; line-height: 1.25; animation: bob 4s ease-in-out infinite;
}
.badge-float strong { font-family: var(--font-display); font-size: 2rem; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.benefit {
  background: #fff; border-radius: 18px; padding: 20px; border: 1px solid #edf3e2;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--yellow-400); }
.benefit h3 { font-size: 1.05rem; margin-bottom: .3em; }
.benefit p { font-size: .93rem; color: var(--muted); margin: 0; }
.b-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow-100); font-size: 1.35rem; margin-bottom: 10px; }

/* ---------- journey ---------- */
.journey { background: var(--green-100); }
.timeline {
  list-style: none; margin: 48px 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.timeline::before, .timeline::after { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 4px; border-radius: 2px; background: #cfe3b5; }
.timeline::after { background: linear-gradient(90deg, var(--green-500), var(--yellow-500)); right: auto; width: calc(92% * var(--p, 0)); }
.timeline li { position: relative; text-align: center; padding: 0 6px; }
.t-num {
  position: relative; z-index: 1; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green-500); font-family: var(--font-display); font-weight: 800; color: var(--green-800); margin-bottom: 14px;
  transition: background .4s, transform .4s;
}
.timeline li.visible .t-num { background: var(--yellow-500); transform: scale(1.06); }
.timeline p { font-size: .93rem; color: var(--muted); }

/* ---------- EC farms gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 18px; margin-top: 48px; }
.g-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--green-100); }
.g-wide { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(18, 48, 26, .85));
}
.g-item figcaption strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }
.g-item figcaption span { font-size: .9rem; color: #e3f0d3; }
.g-item::after { content: ""; position: absolute; top: 16px; left: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow-500); box-shadow: 0 0 0 6px rgba(245,197,24,.3); }

/* ---------- feed ---------- */
.feed { background: var(--green-900); color: #f3f8ea; overflow: hidden; }
.feed .lead { color: #c9dcc0; }
.feed-glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(245,197,24,.25), transparent 65%); }
.feed-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow-500); color: var(--green-900); font-weight: 800; font-size: .85rem; }
.feed-cards { display: grid; gap: 16px; }
.feed-card {
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px 24px;
  backdrop-filter: blur(6px); transition: transform .3s, border-color .3s;
}
.feed-card:hover { transform: translateX(-6px); border-color: var(--yellow-500); }
.feed-card:nth-child(2) { margin-left: 28px; }
.feed-card:nth-child(3) { margin-left: 56px; }
.feed-card header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.feed-card h3 { margin: 0; color: #fff; font-size: 1.35rem; }
.phase { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-900); background: var(--yellow-500); padding: 3px 10px; border-radius: 999px; }
.age { margin-left: auto; color: var(--green-300); font-weight: 600; font-size: .9rem; }
.feed-card p { color: #c9dcc0; font-size: .95rem; margin-bottom: 12px; }
.meter { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; font-size: .8rem; color: #c9dcc0; margin-top: 6px; }
.bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--green-300), var(--yellow-500)); transition: width 1.4s cubic-bezier(.2,.8,.2,1) .3s; }
.feed-card.visible .bar i { width: calc(var(--v) * 100%); }

/* ---------- services ---------- */
.services {
  overflow: hidden;
  background: linear-gradient(160deg, #fff6c7 0%, #fffdf3 45%, #e6f4d2 100%);
}
.services-blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; pointer-events: none; }
.services-blob.b1 { width: 420px; height: 420px; left: -140px; top: 60px; background: radial-gradient(circle, var(--yellow-400), transparent 70%); }
.services-blob.b2 { width: 480px; height: 480px; right: -160px; bottom: -120px; background: radial-gradient(circle, var(--green-300), transparent 70%); }
.services .container { position: relative; }
.services h2 { background: linear-gradient(90deg, var(--green-800), var(--green-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 5 cards: 3 on top, 2 centred below */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 48px; perspective: 900px; }
.service { grid-column: span 2; }
.service:nth-child(4) { grid-column: 2 / span 2; }
.service:nth-child(5) { grid-column: 4 / span 2; }
.service {
  background: #fff; border-radius: var(--radius); padding: 34px 26px 28px; border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--yellow-500), var(--green-500));
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 18px 40px -24px rgba(18,48,26,.45); transform-style: preserve-3d;
  transition: box-shadow .3s, transform .3s; position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--green-500), var(--yellow-500)); transition: height .4s;
}
.service:hover::before { height: 100%; opacity: .1; }
.service > * { position: relative; z-index: 1; }
.service:hover { box-shadow: 0 26px 50px -22px rgba(18,48,26,.5); }
.s-num { position: absolute; top: 14px; right: 20px; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--yellow-100); -webkit-text-stroke: 1.5px var(--yellow-500); }
.s-icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); box-shadow: 0 10px 20px -10px rgba(37,107,49,.8);
  transition: transform .4s cubic-bezier(.3,1.6,.5,1);
}
.service:hover .s-icon { transform: rotate(-8deg) scale(1.1); }
.s-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--yellow-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.28rem; }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }
.services [data-i18n-root]:lang(te), .services [data-i18n-root]:lang(te) h2, .services [data-i18n-root]:lang(te) h3 { font-family: "Noto Sans Telugu", var(--font-body); }
.services [data-i18n-root]:lang(te) h2 { line-height: 1.35; }
[data-i18n-root] { transition: opacity .25s; }
[data-i18n-root].switching { opacity: .15; }

/* ---------- medicines ---------- */
.medicines { background: linear-gradient(180deg, var(--yellow-100), var(--cream)); }
.med-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.med-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.med-chips li {
  padding: 12px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--green-300);
  font-weight: 600; color: var(--green-800); transition: background .25s, color .25s, transform .25s;
}
.med-chips li:hover { background: var(--green-700); color: #fff; transform: translateY(-3px) rotate(-1deg); }

.branch-of { display: inline-block; margin: -.2em 0 1em; padding: 4px 14px; border-radius: 999px; background: var(--green-700); color: #fff; font-weight: 700; font-size: .88rem; }
.med-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.med-chips li.chip-link { padding: 0; border-color: var(--green-700); background: var(--green-700); }
.med-chips li.chip-link a { display: block; padding: 12px 18px; color: #fff; text-decoration: none; }
.med-chips li.chip-link:hover { background: var(--green-800); }

/* ---------- branches ---------- */
.branches { background: var(--green-100); }
.branch-grid { display: grid; grid-template-columns: minmax(0, 1fr); margin: 44px auto 0; max-width: 760px; }
.branch.branch-shop { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 26px; align-items: center; }
.branch-shop .branch-photo { grid-row: 1 / span 5; margin-bottom: 0; }
.branch-shop > :not(.branch-photo) { grid-column: 2; }
.branch {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 16px 36px -24px rgba(18,48,26,.5);
  border: 1px solid #dcebc9; transition: transform .3s, box-shadow .3s;
}
.branch:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.branch h3 { margin: 4px 0 2px; font-size: 1.35rem; }
.branch p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.branch-icon { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--yellow-100); margin-bottom: 6px; }
.branch-tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.branch-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.branch-map { font-weight: 700; color: var(--green-700); text-decoration: none; }
.branch-map:hover { text-decoration: underline; }
.branch-photo { position: relative; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; margin-bottom: 10px; aspect-ratio: 16 / 10; background: var(--green-100); }
.branch-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.branch-photo:hover img { transform: scale(1.06); }
.photo-hint { position: absolute; right: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(18,48,26,.85); color: var(--yellow-400); font-size: .8rem; font-weight: 700; }

.shop-dialog {
  width: min(560px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); background: #fff; color: var(--ink);
}
.shop-dialog::backdrop { background: rgba(18, 48, 26, .55); backdrop-filter: blur(3px); }
.shop-dialog[open] { animation: pop .3s cubic-bezier(.3,1.4,.5,1); }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.shop-dialog > img { width: 100%; height: 240px; object-fit: cover; object-position: 50% 20%; display: block; }
.dialog-body { padding: 24px 28px 28px; }
.dialog-body h3 { font-size: 1.6rem; margin: 6px 0 8px; }
.dialog-body p { color: var(--muted); }
.shop-facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.shop-facts li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.shop-facts li span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green-100); }
.soon-note { background: var(--yellow-100); border-radius: 12px; padding: 10px 14px; font-weight: 600; color: var(--green-900) !important; }
.dialog-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); font-size: 1.6rem; line-height: 1; color: var(--green-900); box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* ---------- stats ---------- */
.stats { background: var(--yellow-500); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); color: var(--green-900); line-height: 1; }
.stat span { font-weight: 600; color: var(--green-800); }

/* ---------- enquiry ---------- */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: stretch; }
.contact-card {
  background: var(--green-800); color: #f3f8ea; border-radius: 28px; padding: clamp(28px, 4vw, 44px);
  background-image: radial-gradient(400px 300px at 100% 100%, rgba(245,197,24,.28), transparent 70%);
}
.contact-card h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact-card > p { color: #c9dcc0; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list li > span { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.1); font-size: 1.2rem; }
.contact-list small { display: block; color: var(--green-300); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--yellow-400); }

.enquiry-form { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid #edf3e2; }
.enquiry-form h3 { font-size: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--green-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d6e3c7; background: #fbfdf7;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(67,160,71,.15); }
.field.invalid input, .field.invalid select { border-color: #d7263d; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #b3261e; }

/* ---------- language toggle ---------- */
/* a sliding switch: yellow knob slides under the active language */
.lang-bar { display: flex; justify-content: center; margin: 0 auto 32px; }
.lang-switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 6px; border: 0; border-radius: 999px; cursor: pointer; font: inherit;
  background: var(--green-800); box-shadow: 0 12px 28px -12px rgba(18,48,26,.7), inset 0 2px 6px rgba(0,0,0,.25);
  animation: switchGlow 2s ease-in-out infinite;
}
.lang-switch.used { animation: none; }
@keyframes switchGlow { 50% { box-shadow: 0 12px 28px -12px rgba(18,48,26,.7), 0 0 0 8px rgba(245,197,24,.35); } }
.ls-opt { position: relative; z-index: 1; padding: 10px 26px; font-weight: 800; color: #d6e8c4; transition: color .3s; white-space: nowrap; text-align: center; }
.ls-opt[lang="te"] { font-family: "Noto Sans Telugu", var(--font-body); }
.ls-knob {
  position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform .35s cubic-bezier(.3,1.4,.5,1);
}
.lang-switch[aria-checked="true"] .ls-knob { transform: translateX(100%); }
.lang-switch[aria-checked="false"] .ls-opt[data-opt="en"],
.lang-switch[aria-checked="true"] .ls-opt[data-opt="te"] { color: var(--green-900); }
.lang-switch:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 3px; }
#enquiry-i18n:lang(te), #enquiry-i18n:lang(te) h2, #enquiry-i18n:lang(te) h3 { font-family: "Noto Sans Telugu", var(--font-body); }
#enquiry-i18n:lang(te) h2 { line-height: 1.35; }

/* ---------- founder ---------- */
.founder { background: linear-gradient(180deg, var(--cream), var(--yellow-100)); }
.founder-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder-copy h2 { margin-bottom: .15em; }
.founder-role { display: inline-block; font-weight: 700; color: var(--green-900); background: var(--yellow-400); padding: 4px 14px; border-radius: 999px; margin-bottom: 1.2em; }
.founder-photo { margin: 0; justify-self: end; width: min(340px, 100%); position: relative; }
.founder-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px;
  background: linear-gradient(135deg, var(--yellow-500), var(--green-300)); z-index: 0;
}
.founder-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.founder-photo figcaption {
  position: relative; z-index: 2; margin: -22px auto 0; width: fit-content; padding: 8px 18px; border-radius: 999px;
  background: var(--green-800); color: var(--yellow-400); font-weight: 700; font-size: .88rem; box-shadow: var(--shadow);
}

/* ---------- footer ---------- */
.footer { background: var(--green-900); color: #c9dcc0; padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }
.brand.light .brand-text { color: #fff; }
.brand.light .brand-text em { color: var(--yellow-400); }
.copy { font-size: .85rem; }
.credits { flex-basis: 100%; font-size: .72rem; opacity: .7; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal[data-reveal="left"] { transform: translateX(-50px); }
.reveal.visible { opacity: 1; transform: none; }
.photo-frame { transition: transform .1s linear; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .broiler-grid, .feed-grid, .med-grid, .enquiry-grid, .founder-grid, .branch-grid { grid-template-columns: 1fr; }
  .branch.branch-shop { grid-template-columns: minmax(0, 1fr); }
  .branch-shop .branch-photo { grid-row: auto; margin-bottom: 10px; }
  .branch-shop > :not(.branch-photo) { grid-column: auto; }
  .founder-photo { justify-self: center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service, .service:nth-child(4) { grid-column: auto; }
  .service:nth-child(5) { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .timeline::before, .timeline::after { left: 27px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .timeline::after { height: calc(100% * var(--p, 0)); bottom: auto; }
  .timeline li { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; text-align: left; padding-bottom: 24px; }
  .timeline li .t-num { grid-row: span 2; }
  .timeline li h3 { margin-top: 14px; }
  .feed-card:nth-child(n) { margin-left: 0; }
  .broiler-visual { max-width: 460px; margin-inline: auto; width: 100%; }
}
/* the full menu needs room next to the name; below this width use the ☰ menu */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 12px auto auto; width: min(320px, calc(100% - 24px)); margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 10px 12px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .scroll-cue { display: none; } /* the hint sits there on phones */
  .hero-copy { padding-top: 100px; text-align: center; }
  .hero-copy > * { margin-inline: auto; }
  .hero-sub { display: none; }
  .hero-cta { justify-content: center; }
  .quote { min-height: 4.6em; font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .hero::before { width: 160px; height: 160px; top: auto; bottom: 30%; }
  .benefits, .field-row, .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: 1 / -1; }
  .stat strong { font-size: 1.7rem; }
  .field-row { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service:nth-child(5) { grid-column: auto; }
  .hero-tags { justify-content: center; }
  /* narrow screens: tuck the chick and sack in front of the nest so both stay on screen */
  .hero-slot[data-slot="chick-a"] { --dx: -1.2 !important; --dy: 0.42 !important; --s: 0.62 !important; }
  .hero-slot[data-slot="sack-a"] { --dx: 1.2 !important; --dy: 0.4 !important; --s: 0.72 !important; }
  .ess-row { gap: 6px; }
  .ess-slot { width: 128px; }
  .ess-amp { font-size: 2.4rem; margin-bottom: 50px; }
  .ess-card { padding: 8px 10px; }
  .ess-card strong { font-size: .88rem; }
  .ess-card span { font-size: .74rem; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .g-wide { grid-row: auto; }
  .g-item { aspect-ratio: 4 / 3; }
  .badge-float { right: 8px; }
}
@media (max-width: 420px) { .benefits { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
