/* ============================================================
   Cloud5 — cloud5.ae
   Brand: hot pink #FF3399 + white (Cloud5 Brand Guidelines)
   Type:  Playfair Display (heading/sub-head) · Montserrat (body)
   ============================================================ */

:root {
  --pink: #FF3399;
  --pink-deep: #DB1180;
  --pink-dark: #A50D61;
  --pink-soft: #FFD6EA;
  --blush: #FFF1F8;
  --blush-2: #FFE7F3;
  --cream: #FFFDFE;
  --white: #FFFFFF;
  --ink: #2A0F1F;
  --muted: #8A6478;
  --line: #FFD9EC;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 4px 14px rgba(255, 51, 153, 0.08);
  --shadow-md: 0 12px 32px rgba(255, 51, 153, 0.12);
  --shadow-lg: 0 24px 60px rgba(255, 51, 153, 0.16);
  --cloud-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FF3399' d='M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z'/%3E%3C/svg%3E");
  --cloud-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFFFFF' d='M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; }

a { color: var(--pink-deep); text-decoration: none; }
a:hover { color: var(--pink); }

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--pink); color: var(--white);
  padding: 10px 18px; border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600; font-size: 0.9rem;
}
.skip:focus { left: 0; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border: 2px solid var(--pink);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost { background: transparent; color: var(--pink-deep); }
.btn--ghost:hover { background: var(--blush-2); color: var(--pink-dark); transform: translateY(-2px); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--pink-deep); }
.btn--light:hover { background: var(--blush); border-color: var(--blush); color: var(--pink-dark); }
.btn--lg { padding: 16px 38px; font-size: 1rem; }
.btn--sm { padding: 9px 22px; font-size: 0.85rem; }
.btn--block { display: block; width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 254, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(255, 51, 153, 0.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__cloud { width: 26px; height: 26px; fill: var(--pink); flex-shrink: 0; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand__name em { font-style: normal; color: var(--pink); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}
.nav__links a:not(.btn):hover { color: var(--pink); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  padding: 10px;
}
.nav__toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Media placeholders (Omar's media drops in here later) ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, #FFE0EF 0%, #FFC4E1 55%, #FFABD5 100%);
}
.ph::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1.5px dashed rgba(255, 51, 153, 0.35);
  border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--cloud-pink) center 40% / 32% auto no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.ph__soon {
  position: relative; z-index: 1;
  margin-bottom: 16%;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-dark);
  opacity: 0.75;
}
.ph--bold { background: linear-gradient(150deg, #FF7CBE 0%, #FF3399 58%, #E5137E 100%); }
.ph--bold::before { border-color: rgba(255, 255, 255, 0.45); }
.ph--bold::after { background-image: var(--cloud-white); opacity: 0.4; }
.ph--bold .ph__soon { color: var(--white); opacity: 0.9; }
.ph--hero { aspect-ratio: 4 / 3; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.ph--story { aspect-ratio: 4 / 5; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.ph--menu { aspect-ratio: 4 / 3; border-radius: var(--r-md) var(--r-md) 0 0; }
.ph--menu::before { border-radius: calc(var(--r-md) - 6px); }
.ph--square { aspect-ratio: 1 / 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 420px at 88% 8%, var(--blush-2) 0%, transparent 62%),
    radial-gradient(520px 400px at 4% 92%, var(--blush) 0%, transparent 65%),
    var(--cream);
  padding: 72px 0 96px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--pink);
  margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__title .accent { font-style: italic; color: var(--pink); }
.hero__sub {
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta span::before { content: "☁ "; color: var(--pink); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-weight: 300; }

/* ---------- Story ---------- */
.story { padding: 100px 0; background: var(--white); }
.story__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.story__media { position: relative; }
.story__badge {
  position: absolute;
  right: -18px; bottom: 30px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 16px 22px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--pink);
  line-height: 1.1;
}
.story__badge small {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.story__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.story__text p { color: var(--muted); font-weight: 300; margin-bottom: 16px; }
.story__text p strong { color: var(--ink); font-weight: 600; }
.story__sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--pink);
  margin: 6px 0 26px;
}

/* ---------- Menu ---------- */
.menu { padding: 100px 0; background: var(--blush); }
.menu__group { margin-bottom: 56px; }
.menu__group:last-of-type { margin-bottom: 0; }
.menu__cat {
  display: flex; align-items: center; gap: 16px;
  font-size: 1.45rem;
  margin-bottom: 26px;
}
.menu__cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.menu__cat .cat__cloud { width: 20px; height: 20px; fill: var(--pink); flex-shrink: 0; }
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.item {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.item__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.item__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.item__head h4 { font-size: 1.12rem; }
.item__price { font-weight: 600; font-size: 0.9rem; color: var(--pink-deep); white-space: nowrap; }
.item__body > p { font-weight: 300; font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.item__note {
  display: inline-block;
  align-self: flex-start;
  background: var(--blush-2);
  color: var(--pink-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.item__order {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.item__order:hover { color: var(--pink-dark); }
.menu__note {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 48px;
}

/* ---------- How ordering works ---------- */
.how { padding: 100px 0; background: var(--white); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step__num {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 2rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-weight: 300; font-size: 0.85rem; color: var(--muted); }
.how__pickup {
  text-align: center;
  margin-top: 44px;
  font-weight: 300;
  color: var(--muted);
}
.how__pickup strong { color: var(--ink); font-weight: 600; }

/* ---------- Instagram strip ---------- */
.insta { padding: 100px 0; background: var(--blush); }
.insta__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.insta__cta { text-align: center; }

/* ---------- Order ---------- */
.order { padding: 100px 0; background: var(--white); }
.order__panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #FF54AB 0%, #FF3399 45%, #DB1180 100%);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 72px 64px;
  text-align: center;
  color: var(--white);
}
.order__panel::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--cloud-white) 0 0 / 120px auto repeat;
  opacity: 0.07;
  pointer-events: none;
}
.order__panel > * { position: relative; }
.order__panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.order__panel > p { font-weight: 300; max-width: 54ch; margin: 0 auto 30px; color: rgba(255, 255, 255, 0.92); }
.order__delivery {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em;
  margin-top: 22px !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
.order__form {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 34px;
  max-width: 620px;
  margin: 38px auto 0;
  text-align: left;
}
.order__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.order__form input,
.order__form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color 0.2s ease;
}
.order__form input::placeholder,
.order__form textarea::placeholder { color: var(--muted); font-weight: 300; }
.order__form input:focus,
.order__form textarea:focus { outline: none; border-color: var(--pink); }
.order__form textarea { resize: vertical; margin-bottom: 16px; }
.order__note { margin-top: 18px; font-size: 0.9rem; font-weight: 500; min-height: 1.4em; }
.order__note.is-error { color: #FFE0B8; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-weight: 300; }
.footer a { color: rgba(255, 255, 255, 0.85); }
.footer a:hover { color: var(--pink-soft); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding: 72px 24px 48px;
}
.footer .brand__name { color: var(--white); }
.footer__brand p { margin-top: 16px; font-size: 0.92rem; max-width: 34ch; }
.footer__col h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-soft);
  margin-bottom: 16px;
}
.footer__col a { display: block; font-size: 0.92rem; margin-bottom: 10px; }
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 0.8rem;
}
.footer__legal p { margin-bottom: 8px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 32px;
  font-size: 0.8rem;
}

/* ---------- Policy page ---------- */
.page-hero {
  background:
    radial-gradient(560px 380px at 85% 0%, var(--blush-2) 0%, transparent 60%),
    var(--cream);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-weight: 300; max-width: 56ch; margin: 0 auto; }
.policy { padding: 72px 0 96px; background: var(--white); }
.policy__wrap { max-width: 760px; margin: 0 auto; }
.policy section {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 36px;
  margin-bottom: 22px;
}
.policy h2 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.policy h2 .cat__cloud { width: 18px; height: 18px; fill: var(--pink); flex-shrink: 0; }
.policy p, .policy li { font-weight: 300; color: var(--muted); }
.policy p strong, .policy li strong { color: var(--ink); font-weight: 600; }
.policy ul { padding-left: 20px; margin-top: 8px; }
.policy li { margin-bottom: 6px; }
.policy__back { text-align: center; margin-top: 44px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .item, .step { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0 80px; }
  .ph--hero { max-width: 560px; }
  .story__grid { grid-template-columns: 1fr; gap: 52px; }
  .story__media { max-width: 420px; }
  .story__badge { right: 12px; }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid .step:last-child { grid-column: 1 / -1; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .order__panel { padding: 56px 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
  }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--blush-2); }
  .nav__links .btn { margin-top: 14px; text-align: center; }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .menu, .how, .insta, .order, .story { padding: 72px 0; }
  .menu__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .item__body { padding: 14px 16px 16px; }
  .item__head { flex-direction: column; gap: 2px; }
  .how__grid { grid-template-columns: 1fr; }
  .order__panel { padding: 44px 22px; border-radius: var(--r-lg); }
  .order__form { padding: 22px; }
  .order__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .footer__bottom { flex-direction: column; }
  .policy section { padding: 24px 20px; }
}

@media (max-width: 460px) {
  .menu__grid { grid-template-columns: 1fr; }
  .insta__grid { gap: 12px; }
}
