/* Mcava landing v1, HQ R-169: Coming soon to Gurgaon, Notify me (the launch list), Ava's recipes (the contact part moved to r179.css, R-179).
   Loaded after main.css; built pages only. Ink text on Rooster Red (Eggshell on Red is under 3:1). */

/* ---------- Layers: the rounded sections stack in page order ---------- */
.recipes { z-index: 4; }
.notify { z-index: 5; }
.close { z-index: 6; }
.foot { z-index: 7; }

/* ---------- Header: Notify me, calm ---------- */
.sh-cta {
  height: 40px; padding: 0 16px 0 14px; border: 2px solid currentColor; border-radius: 999px; text-decoration: none; color: inherit;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.sh-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--egg); }
.sh-cta .sh-dot { animation: sh-pulse 2.4s ease-in-out infinite; }
@keyframes sh-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 66, 88, .45); } 50% { box-shadow: 0 0 0 5px rgba(255, 66, 88, 0); } }
@media (max-width: 1099px) {
  /* In the sheet: the last thing, a full-width button. */
  .sh-cta { justify-content: center; height: 60px; border: 0; border-radius: 16px; background: var(--red); color: var(--ink); font-size: 18px; letter-spacing: .12em; }
  .sh-cta:hover { background: var(--ink); color: var(--egg); }
  .sh-cta .sh-dot { background: var(--ink); animation: none; }
}

/* ---------- Hero: Simran's line and the button ---------- */
.hero-soon {
  display: flex; align-items: center; gap: .32em; margin: -.06em 0 clamp(16px, 2.4vh, 26px);
  font: 700 clamp(28px, min(2.5vw, 4.6vh), 44px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .005em;
}
.hs-pin { flex: none; width: .78em; height: .78em; fill: var(--red); }
.hs-pin circle { fill: var(--egg); }
/* Sunny Yellow, not Butter: Butter barely shows on Eggshell. */
.hero-soon .mk { --mk-butter: var(--sun); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: clamp(24px, 3.6vh, 38px); }
.btn-notify {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 24px; border-radius: 14px;
  background: var(--red); color: var(--ink); text-decoration: none; font: 700 21px/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px var(--ink);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease), background-color .3s var(--ease);
}
.btn-notify svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-spring); }
.btn-notify:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--ink), 0 14px 26px -14px rgba(25, 25, 25, .6); }
.btn-notify:hover svg { transform: translateY(3px); }
.hero-cta-note { max-width: 19ch; font-weight: 600; font-size: 18px; line-height: 1.15; opacity: .8; }
.hero .where-k { margin-top: 0; }
@media (max-width: 900px) {
  .hero-soon { order: 3; }
  .hero-cta { order: 4; }
}
@media (max-width: 640px) {
  .hero-soon { font-size: clamp(24px, 7.4vw, 30px); margin-bottom: 14px; }
  .btn-notify { width: 100%; justify-content: center; min-height: 60px; font-size: 20px; }
  .hero-cta { margin-bottom: 26px; }
  .hero-cta-note { max-width: none; font-size: 17px; }
}

/* ---------- Notify me ---------- */
.notify {
  position: relative; background: var(--red); color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(-1 * var(--radius));
  padding: clamp(96px, 14vh, 160px) var(--pad) calc(clamp(96px, 14vh, 150px) + var(--radius)); overflow: hidden;
}
.notify :focus-visible { outline-color: var(--ink); }
.notify ::selection { background: var(--ink); color: var(--egg); }
.notify-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; align-items: center; }
.notify-title { font: 700 clamp(56px, 7vw, 124px)/.86 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; margin: .3em 0 .34em; text-wrap: balance; }
.notify .lede { max-width: 28ch; }
.notify-art { width: clamp(220px, 24vw, 370px); margin-top: clamp(28px, 5vh, 56px); }
.notify-art img { width: 100%; height: auto; }
.notify-card {
  position: relative; justify-self: end; width: 100%; max-width: 560px; padding: clamp(26px, 3vw, 44px); border-radius: clamp(26px, 2.6vw, 38px);
  background: var(--egg); color: var(--ink); box-shadow: 0 34px 60px -34px rgba(60, 0, 10, .55);
}
.notify-card :focus-visible { outline-color: var(--indigo); }
/* Answered: the card keeps its height (set in signup.js), the answer in the middle. */
.notify-card.is-done { display: flex; flex-direction: column; justify-content: center; }
.notify-sticker { position: absolute; z-index: 2; width: clamp(130px, 12vw, 184px); right: clamp(-34px, -2vw, -16px); top: clamp(-58px, -4vw, -40px); transform: rotate(9deg); transform-style: preserve-3d; }
.notify-sticker img { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(25, 25, 25, .22)); }

.su-field + .su-field { margin-top: 22px; }
.su-label { display: block; margin-bottom: 10px; font: 600 15px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }
.su-opt { letter-spacing: .08em; opacity: .62; }
.su-phone, #su-name { border: 2px solid var(--ink); border-radius: 14px; background: #FFF8EE; transition: border-color .2s ease, box-shadow .2s ease; }
.su-phone { display: flex; align-items: stretch; overflow: hidden; }
.su-phone:focus-within { box-shadow: 0 0 0 3px var(--egg), 0 0 0 6px var(--indigo); }
.su-phone input:focus-visible { outline: none; }
.su-prefix { display: flex; align-items: center; padding: 0 12px 0 16px; border-right: 2px solid rgba(25, 25, 25, .14); font: 700 22px/1 var(--f-display); letter-spacing: .02em; }
.signup input[type="tel"], .signup input[type="text"] {
  display: block; width: 100%; min-width: 0; height: 58px; margin: 0; padding: 0 16px; border: 0; background: transparent; color: var(--ink);
  font: 600 22px/1 var(--f-body); letter-spacing: .02em; -webkit-appearance: none; appearance: none;
}
#su-name { border: 2px solid var(--ink); }
#su-name:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 14px; }
.signup input::placeholder { color: rgba(25, 25, 25, .44); opacity: 1; }
.su-phone:has(input[aria-invalid="true"]), .su-consent input[aria-invalid="true"] { border-color: var(--barn); box-shadow: 0 0 0 1px var(--barn); }
.su-err, .su-status[data-tone="error"] { display: flex; gap: 9px; align-items: baseline; margin-top: 10px; font-weight: 700; font-size: 18px; line-height: 1.2; }
.su-err[hidden] { display: none; }
.su-err::before, .su-status[data-tone="error"]::before {
  content: "!"; flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; transform: translateY(2px);
  background: var(--barn); color: var(--egg); font: 700 14px/1 var(--f-display);
}
.su-consent { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: start; margin-top: 24px; }
.su-consent label { font-weight: 600; font-size: 18px; line-height: 1.22; cursor: pointer; text-wrap: pretty; }
.su-consent .su-err { grid-column: 2; }
.su-consent input {
  width: 28px; height: 28px; margin: 0; border: 2px solid var(--ink); border-radius: 8px; background: #FFF8EE; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: background-color .2s ease;
}
.su-consent input:checked {
  background: var(--ink) no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFED8F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.su-consent input:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.su-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 62px; margin-top: 28px; padding: 0 20px;
  border: 0; border-radius: 14px; background: var(--ink); color: var(--butter); cursor: pointer;
  font: 700 23px/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase;
  transition: transform .45s var(--ease-spring), box-shadow .45s var(--ease), opacity .2s ease;
}
.su-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-spring); }
.su-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(25, 25, 25, .7); }
.su-btn:hover:not(:disabled) svg { transform: translateX(4px); }
.su-btn:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.su-btn:disabled { cursor: not-allowed; opacity: .5; }
.su-btn.is-busy { cursor: progress; opacity: .82; }
.su-btn.is-busy svg { animation: su-nudge .9s ease-in-out infinite alternate; }
@keyframes su-nudge { to { transform: translateX(5px); } }
.su-noscript { margin-top: 14px; font-weight: 700; font-size: 18px; }
.su-status:empty { display: none; }
.su-status { margin-top: 14px; }
.su-done { padding: 6px 0 4px; }
.su-done-ic { width: 60px; height: 60px; }
.su-done-ic circle { fill: var(--butter); stroke: var(--ink); stroke-width: 2.5; }
.su-done-ic path { fill: none; stroke: var(--ink); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.su-done-t { margin: 20px 0 12px; font: 700 clamp(36px, 3.1vw, 50px)/.94 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.su-done-b { max-width: 28ch; font-weight: 600; font-size: 20px; line-height: 1.22; }
.motion .is-done .su-done { animation: su-in .6s var(--ease) both; }
.motion .is-done .su-done-ic { animation: su-pop .7s var(--ease-spring) both .05s; }
.motion .is-done .su-done-ic path { animation: su-tick .5s ease-out both .3s; }
@keyframes su-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes su-pop { from { transform: scale(.4) rotate(-20deg); } }
@keyframes su-tick { from { stroke-dashoffset: 40; } }

@media (max-width: 900px) {
  /* One column: the words, the form, then Ava walking off with her shopping. */
  .notify-in { grid-template-columns: 1fr; gap: 0; }
  .notify-copy { display: contents; }
  .notify-card { order: 1; justify-self: stretch; max-width: none; margin-top: 44px; }
  .notify-art { order: 2; justify-self: end; width: clamp(180px, 34vw, 260px); margin: 36px 4px 0 0; }
}
@media (max-width: 640px) {
  .notify { padding-top: 84px; }
  .notify-art { width: 190px; margin-top: 30px; }
  .notify-title { font-size: clamp(48px, 13vw, 64px); }
  .notify-card { margin-top: 56px; padding: 26px 20px 24px; }
  .notify-sticker { width: 118px; right: -6px; top: -48px; }
  .su-consent label { font-size: 17px; }
}

/* ---------- Ava's recipes ---------- */
.recipes {
  position: relative; background: var(--indigo); color: var(--egg); border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(-1 * var(--radius));
  padding: clamp(96px, 14vh, 160px) var(--pad) calc(clamp(90px, 13vh, 150px) + var(--radius));
}
.recipes .kicker, .recipes h2, .recipes h3 { color: var(--butter); }
.recipes :focus-visible { outline-color: var(--butter); }
.recipes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 7vh, 80px); }
.recipes-head .h-xl { margin-bottom: 0; text-wrap: balance; }
.recipes-aside { max-width: 24ch; padding-bottom: .4em; font-weight: 600; font-size: clamp(20px, .6vw + 15px, 24px); line-height: 1.22; text-wrap: pretty; }
.rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 40px); }
.rcard { position: relative; display: flex; flex-direction: column; border-radius: clamp(22px, 2vw, 32px); }
.rcard:focus-within { outline: 3px solid var(--butter); outline-offset: 8px; }
.rcard:focus-within a:focus-visible { outline: none; }
.rcard-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: clamp(22px, 2vw, 32px); background: #4747B4; }
.rcard-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.rcard-art.is-ph, .rp-art.is-ph { background: var(--butter); }
.rcard-ph { position: absolute; left: 50%; top: 46%; width: 66%; height: auto; translate: -50% -50%; transition: transform .8s var(--ease-spring); }
.rcard:hover .rcard-photo { transform: scale(1.05); }
.rcard:hover .rcard-ph { transform: rotate(-5deg) scale(1.05); }
.rcard-made { position: absolute; left: 14px; bottom: 14px; padding: 5px 14px 7px; border-radius: 999px; background: var(--butter); color: var(--ink); transform: rotate(-3deg); font-size: clamp(19px, .4vw + 14px, 23px); box-shadow: 0 8px 14px -8px rgba(10, 10, 40, .5); }
.rcard-made span { opacity: .66; }
.rcard-t { margin: 22px 0 10px; font: 700 clamp(26px, 2vw, 34px)/1 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.rcard-t a { text-decoration: none; color: inherit; }
.rcard-t a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rcard-i { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; max-width: 34ch; font-size: clamp(18px, .3vw + 15px, 21px); text-wrap: pretty; }
.rcard-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--butter); font: 600 15px/1 var(--f-display); letter-spacing: .15em; text-transform: uppercase; }
.rcard-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-spring); }
.rcard:hover .rcard-go svg { transform: translateX(5px); }
@media (max-width: 1100px) { .rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 900px) { .recipes-head { flex-direction: column; align-items: flex-start; gap: 18px; } }
@media (max-width: 640px) { .rcards { grid-template-columns: 1fr; row-gap: 44px; } }

/* ---------- A recipe's page ---------- */
.rp-body { background: var(--egg); }
.rp {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "head art" "cols cols"; column-gap: 5vw; align-items: center;
  padding: calc(var(--sh-h) + clamp(40px, 8vh, 96px)) var(--pad) calc(clamp(80px, 12vh, 140px) + var(--radius));
}
.rp-head { grid-area: head; }
.rp-head .kicker a { color: inherit; text-decoration: none; }
.rp-head .kicker a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rp-title { margin: .3em 0 .34em; font: 700 clamp(52px, 6.2vw, 110px)/.88 var(--f-display); text-transform: uppercase; letter-spacing: -.006em; text-wrap: balance; overflow-wrap: anywhere; }
.rp-intro .lede { max-width: 34ch; }
.rp-intro .lede + .lede { margin-top: .7em; }
.rp-made { display: inline-flex; gap: .4em; margin-top: 26px; padding: 9px 16px; border-radius: 999px; background: var(--butter); font: 700 15px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.rp-made span { font-weight: 500; opacity: .7; }
.rp-art { grid-area: art; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--indigo); }
.rp-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-ph { position: absolute; left: 50%; top: 50%; width: 72%; height: auto; translate: -50% -50%; }
.rp-cols { grid-area: cols; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5vw; align-items: start; margin-top: clamp(56px, 9vh, 110px); padding-top: clamp(36px, 5vh, 56px); border-top: 2px solid rgba(25, 25, 25, .16); }
.rp-h { margin-bottom: 22px; font: 700 clamp(30px, 2.6vw, 44px)/1 var(--f-display); text-transform: uppercase; }
.rp-ing li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1.5px dashed rgba(25, 25, 25, .22); font-size: clamp(19px, .3vw + 16px, 21px); line-height: 1.25; }
.rp-ing li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .45em; border-radius: 50%; background: var(--red); }
.rp-steps ol { counter-reset: step; }
.rp-steps li { counter-increment: step; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding-bottom: 28px; font-size: clamp(19px, .3vw + 16px, 21px); line-height: 1.3; }
.rp-steps li::before { content: counter(step, decimal-leading-zero); font: 700 38px/.9 var(--f-display); color: var(--red); }
.rp-steps p { max-width: 52ch; text-wrap: pretty; }
.recipes--more { padding-bottom: clamp(90px, 13vh, 150px); }
.recipes--more .recipes-head { margin-bottom: clamp(32px, 5vh, 56px); }
.rp-more-t { margin-top: .3em; font: 700 clamp(44px, 4.8vw, 84px)/.9 var(--f-display); text-transform: uppercase; }
/* Ava sleeps on the footer's edge; on Rooster Red she'd vanish, so on a page that ends with Notify me she stays home. */
.rp-body--ends-red .foot-ava { display: none; }
@media (max-width: 900px) {
  .rp { grid-template-columns: 1fr; grid-template-areas: "head" "art" "cols"; }
  .rp-art { margin-top: 36px; aspect-ratio: 4 / 3; }
  .rp-cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .rp-title { font-size: clamp(44px, 12.4vw, 64px); }
  .rp-steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .rp-steps li::before { font-size: 32px; }
}

/* ---------- Reduced motion: still, and nothing pulses ---------- */
@media (prefers-reduced-motion: reduce) {
  .sh-cta .sh-dot, .su-btn.is-busy svg { animation: none; }
  .btn-notify:hover, .su-btn:hover:not(:disabled), .rcard:hover .rcard-photo, .rcard:hover .rcard-ph { transform: none; }
}
