:root {
  --green: #154734;
  --green-dark: #0e3326;
  --yolk: #E9A23B;
  --amber: #C27C12;
  --cream: #FAF7F0;
  --ink: #1C1C1C;
  --muted: #5b5b5b;
  --line: #e6e2d8;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
a { color: var(--green); }
img, svg { display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px max(16px, calc((100% - 1120px) / 2)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); }
/* pre-launch: name in plain text only, no logo (see docs/brand/Asala Brand Decisions.md) */
.brand-text { font-family: Inter, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.3px; color: var(--green); }
.brand-text.light { color: #fff; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn):hover { color: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #fff; font: 600 16px Inter, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; color: #fff !important; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--cream); color: var(--green); border-color: var(--green); }
.btn-amber { background: var(--yolk); border-color: var(--yolk); color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.more { margin: 20px 0 0; font-weight: 600; }
.more a { color: var(--green); }
.card i, .steps i, .sub i { color: var(--muted); font-style: italic; }
.btn-amber:hover { background: #f1b45c; border-color: #f1b45c; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* hero */
.hero { background: var(--cream); padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.hero-grid > div:first-child { align-self: center; }
.hero .wrap.hero-grid { width: min(1320px, 100% - 32px); }
.kicker { margin: 0 0 8px; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; color: var(--amber); }
.kicker-light { color: var(--yolk); }
h1 { font-family: Inter, sans-serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 0; color: var(--green); letter-spacing: -1px; }
.urdu-line { margin: 10px 0 0; font-size: 22px; font-weight: 600; color: var(--amber); }
.lead { font-size: 18px; color: #333; max-width: 560px; margin: 18px 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
/* hero tray: eggs drop into a pulp tray one by one, rest, fade, repeat (7s loop) */
.hero-art { display: grid; justify-items: center; position: relative; }
.tray { display: grid; grid-template-columns: repeat(3, 96px); gap: 14px; padding: 26px; background: #efe6d3; border-radius: 34px;
  box-shadow: 0 24px 50px rgba(21,71,52,.14), inset 0 -6px 0 rgba(0,0,0,.05); transform: rotate(-4deg); }
.cup { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #e2d5bb, #d6c7a8); box-shadow: inset 0 6px 10px rgba(0,0,0,.12);
  display: grid; place-items: center; overflow: visible; }
.egg-top { display: block; width: 66px; height: 80px; border-radius: 50% 50% 48% 48% / 58% 58% 42% 42%; box-shadow: 0 6px 10px rgba(0,0,0,.18);
  animation: drop 7s cubic-bezier(.3,.8,.4,1) infinite both; }
.egg-top.w { background: radial-gradient(circle at 38% 30%, #ffffff, #efebe2 70%); }
.egg-top.g { background: radial-gradient(circle at 38% 30%, #f0c896, #c98d52 75%); }
.egg-top.d { background: radial-gradient(circle at 38% 30%, #f6e2c2, #dcbf91 75%); }
.cup:nth-child(2) .egg-top { animation-delay: .35s; } .cup:nth-child(3) .egg-top { animation-delay: .7s; }
.cup:nth-child(4) .egg-top { animation-delay: 1.05s; } .cup:nth-child(5) .egg-top { animation-delay: 1.4s; } .cup:nth-child(6) .egg-top { animation-delay: 1.75s; }
@keyframes drop {
  0% { transform: translateY(-160px); opacity: 0; }
  8% { transform: translateY(0) scale(1.06, .94); opacity: 1; }
  11% { transform: translateY(-6px) scale(.98, 1.02); }
  14%, 78% { transform: none; opacity: 1; }
  88%, 100% { transform: none; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .egg-top { animation: none; } }
/* Desktop: the video fills the full height of the text column (cropped a little at the sides). */
.hero-grid > .hero-art { display: block; align-self: stretch; min-height: 380px; }
.hero-grid > .hero-art .hero-video { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.hero-video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 50px rgba(21,71,52,.18); background: #e9e2d3; }

/* sections */
.section { padding: 72px 0; }
.section-tint { background: var(--cream); }
.section-green { background: var(--green); color: #fff; }
.section-green h2 { color: #fff; }
h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; color: var(--green); letter-spacing: -.5px; }
.sub { color: var(--muted); margin: 0 0 32px; font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--green); }
.card p { margin: 0; color: #444; font-size: 15px; }
.dot { display: block; width: 34px; height: 42px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; margin-bottom: 14px; border: 2px solid var(--line); }
.dot-white { background: #fbfaf6; }
.dot-golden { background: #d9a46b; border-color: #c48d55; }
.dot-desi { background: #e8cfa7; border-color: #d2b483; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: s; border-top: 3px solid var(--yolk); padding-top: 16px; display: grid; gap: 4px; }
.steps li::before { content: counter(s); font-weight: 700; color: var(--amber); font-size: 14px; }
.steps b { color: var(--green); font-size: 18px; }
.steps span { color: #444; }
.biz { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.biz p { max-width: 620px; color: #e7efe9; }
.section-tint .biz p { color: #333; }
.section-tint .biz .kicker { color: var(--amber); }
.section-tint .biz a:not(.btn) { color: var(--green); font-weight: 600; }

/* journey animation: an egg travels farm > hub > pack > door, each station lights up as it arrives (8s loop) */
.journey { position: relative; margin-top: 12px; }
.track { position: absolute; left: 12.5%; right: 12.5%; top: 20px; height: 4px; background: var(--line); border-radius: 4px; }
.mover { position: absolute; top: 50%; left: 0; width: 30px; height: 37px; transform: translate(-50%, -50%); animation: travel-x 8s ease-in-out infinite; }
.mover svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(21,71,52,.25)); }
.stations { list-style: none; margin: 0; padding: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.st { display: grid; justify-items: center; text-align: center; gap: 6px; }
.st-ico { width: 76px; height: 76px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; margin-bottom: 8px; position: relative; z-index: 1;
  animation: lit 8s infinite; }
.st-ico svg { width: 36px; height: 36px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.st b { color: var(--green); font-size: 17px; }
.st span:last-child { color: #444; font-size: 15px; max-width: 220px; }
.st2 .st-ico { animation-delay: 2s; } .st3 .st-ico { animation-delay: 4s; } .st4 .st-ico { animation-delay: 6s; }
@keyframes lit {
  0%, 22% { border-color: var(--yolk); background: #fff6e6; transform: scale(1.08); }
  28%, 100% { border-color: var(--line); background: #fff; transform: scale(1); }
}
@keyframes travel-x {
  0% { left: 0; opacity: 0; } 4% { opacity: 1; } 18% { left: 0; }
  25%, 43% { left: 33.333%; } 50%, 68% { left: 66.666%; } 75%, 93% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; }
}
@keyframes travel-y {
  0% { top: 0; opacity: 0; } 4% { opacity: 1; } 18% { top: 0; }
  25%, 43% { top: 33.333%; } 50%, 68% { top: 66.666%; } 75%, 93% { top: 100%; opacity: 1; } 100% { top: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mover { display: none; } .st-ico { animation: none; border-color: var(--yolk); }
}

/* form */
.tabs { display: flex; gap: 8px; margin-bottom: 20px; background: var(--cream); padding: 6px; border-radius: 999px; width: fit-content; max-width: 100%; }
.tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 600 15px Inter, sans-serif; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--green); color: #fff; }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: #333; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfcabd; border-radius: 10px; font: 400 16px Inter, sans-serif; background: #fff; color: var(--ink); }
.form textarea { min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(233,162,59,.45); border-color: var(--amber); }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
legend { font-weight: 600; font-size: 14px; padding: 0 6px; color: #333; }
.form label.chk { display: flex; align-items: center; gap: 10px; font-weight: 500; min-height: 32px; }
.chk input { width: 20px; height: 20px; accent-color: var(--green); }
.form .btn { justify-self: start; }
.invalid { border-color: #b3261e !important; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.6em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #b3261e; }
.offer { display: grid; gap: 4px; background: #FDF3E1; border: 1px solid #E9A23B; border-left: 5px solid #E9A23B; border-radius: 10px; padding: 14px 16px; }
.offer b { color: var(--green); font-size: 16px; }
.offer span { color: #333; font-size: 15px; }
.hero-offer { margin: 18px 0 0; font-size: 15px; color: #333; }
.hero-offer b { color: var(--amber); }
.biz-offer { margin: 14px 0 0; padding: 12px 14px; border: 1px solid rgba(233,162,59,.7); border-radius: 10px; color: #fff; }
.biz-offer b { color: #E9A23B; }
.share { margin-top: 24px; padding: 22px; border: 2px solid var(--green); border-radius: 14px; background: #fff; display: grid; gap: 12px; }
.share[hidden] { display: none; }
.share h3 { margin: 0; color: var(--green); font-size: 20px; }
.share p { margin: 0; color: #333; font-size: 15px; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; }
.share-link { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; background: #FAF7F0; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--green); font-size: 17px; }
details p { margin: 8px 0 0; color: #444; }

/* footer */
.foot { background: var(--green-dark); color: #d6e2db; padding: 40px 0; font-size: 14px; }
.foot a { color: #fff; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .egg { width: 30px; height: 37px; }
.foot-brand div { display: grid; }
.foot p { margin: 0; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.social a:hover { background: var(--amber); color: var(--green-dark); }
.social svg { width: 20px; height: 20px; }

/* Language switch: a vertical tab fixed to the right edge, middle of the screen, on every page */
.lang-switch { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: 2px; padding: 4px; background: var(--green); border-radius: 14px 0 0 14px; box-shadow: -6px 8px 24px rgba(0,0,0,.25); }
.lang-switch button { writing-mode: vertical-rl; transform: rotate(180deg); min-width: 36px; padding: 14px 0; border: 0; border-radius: 10px; background: transparent; color: #fff; font: 600 14px Inter, sans-serif; letter-spacing: .3px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--yolk); color: var(--ink); }
.lang-switch button:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.lang-handle { display: none; }
/* Phones and tablets: only a slim handle shows, naming the other language; one tap switches. */
@media (max-width: 900px) {
  .lang-switch { padding: 3px; }
  .lang-switch .lang-handle { display: flex; align-items: center; gap: 6px; min-width: 24px; padding: 12px 0; font-size: 12px; }
  .lang-handle b { font-size: 16px; line-height: 1; }
  .lang-switch button[data-lang] { display: none; }
}

/* Form pop-up (opens after 5 s, see app.js) */
.form-modal { width: min(720px, 94vw); max-height: 90vh; padding: 0; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.3); overflow: auto; }
.form-modal::backdrop { background: rgba(21,71,52,.55); }
.form-modal-body { padding: 28px 28px 24px; }
.form-modal-body .wrap { width: 100%; }
.form-modal-body h2 { margin-top: 0; padding-right: 40px; }
.form-modal-close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; z-index: 1; }
@media (max-width: 640px) {
  .form-modal { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .form-modal-body { padding: 20px 16px; }
}

/* Below laptop width the hero stacks: text, then the full 16:9 video. */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid > .hero-art { min-height: 0; }
  .hero-grid > .hero-art .hero-video { position: static; height: auto; aspect-ratio: 16 / 9; }
  .hero .lead { max-width: 720px; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .biz { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .brand-en { display: none; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 52px 0; }
  .cards, .cards.three, .steps, .row { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .stations { grid-template-columns: 1fr; gap: 28px; }
  .st { grid-template-columns: 76px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; }
  .st-ico { grid-row: span 2; margin: 0; }
  .stations { padding: 0 0 0 44px; }
  .track { left: 14px; right: auto; top: 38px; bottom: 38px; width: 4px; height: auto; }
  .mover { top: 0; left: 50%; animation-name: travel-y; }
  .tabs button { flex: 1; padding: 0 10px; }
  .form .btn { justify-self: stretch; }
}

/* hero video: open bigger */
.video-open { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px;
  background: rgba(14,51,38,.85); color: #fff; font: 600 14px Inter, sans-serif; cursor: pointer; }
.video-open:hover { background: var(--green-dark); }
.video-open svg { width: 16px; height: 16px; }
.video-modal { padding: 0; border: 0; border-radius: 16px; background: #000; width: min(1200px, 94vw); max-width: none; }
.video-modal::backdrop { background: rgba(0,0,0,.8); }
.video-modal video { display: block; width: 100%; height: auto; max-height: 86vh; }
.video-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #111; font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
