/* Sawsan roof page */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- landing: the wordmark built from its letters ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 0 8px; }
.mark { width: min(86vw, 560px); container-type: inline-size; }
.stage { position: relative; width: 100%; aspect-ratio: 1084 / 384; }
.lt { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
/* centred under the letters (the lily sits to the left), sized to span the word */
.tagline {
  margin: 4px 2.2% 0 7.7%; text-align: center; white-space: nowrap;
  font-family: var(--serif); text-transform: uppercase; color: var(--ink);
  font-size: 13px; font-size: 7.6cqw; letter-spacing: .16em; line-height: 1.2;
}
.tagline em { text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-size: 1.48em; padding: 0 .05em; }
.basmala {
  margin: 0 0 6px; font-family: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif; font-weight: 400;
  font-size: clamp(22px, 5.6vw, 30px); line-height: 1.7; color: var(--rose-ink); letter-spacing: 0;
}
.lede { max-width: 34ch; margin-top: 22px; font-size: 17px; color: var(--ink-body); }

/* JS adds .anim to <html> when it is about to play the landing; things wait hidden */
.anim .lt, .anim .basmala, .anim .tagline, .anim .lede, .anim [data-rise] { opacity: 0; }

/* ---------- floating tool bubbles ---------- */
.tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; padding: 44px 0 20px; }
.bubble {
  --size: clamp(250px, 27vw, 280px);
  width: var(--size); height: var(--size); border-radius: 50%; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 30px; text-align: center; text-decoration: none; color: var(--ink-body);
  background: var(--lift); border: 1px solid var(--lift-edge); box-shadow: var(--shadow-card);
  font: inherit; cursor: default;
  transition: transform .6s var(--float), box-shadow .4s var(--ease);
}
.bubble.live, .bubble.ask { cursor: pointer; }
.bubble.live:hover, .bubble.ask:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(77, 37, 31, .06), 0 18px 36px -10px rgba(77, 37, 31, .22); }
.bubble.live:active, .bubble.ask:active { transform: scale(.96); transition-duration: .1s; }
.tools .soon { margin-top: 56px; }
.tools .ask { margin-top: 14px; }

.b-name { font-family: var(--script); font-size: 34px; line-height: 1.25; color: var(--ink); }
.b-tag { font-family: var(--serif); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--ink); }
.b-tag em { text-transform: none; letter-spacing: 0; font-size: 17px; color: var(--ink-soft); }
.b-line { font-size: 14px; line-height: 1.45; max-width: 25ch; margin-top: 4px; }
.b-go {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 8px 16px 8px 18px; border-radius: 999px;
  background: var(--rose); color: var(--rose-ink); font-weight: 600; font-size: 14px; box-shadow: var(--glow-rose);
}
.bubble:hover .b-go svg { transform: translateX(3px); }
.b-go svg { transition: transform .4s var(--float); }
.b-chip { margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-chip); font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.bubble.soon .b-name { color: var(--ink-soft); }
.bubble.ask { background: radial-gradient(circle at 50% 30%, #fff 0, var(--lift) 60%, #f3e7e3 100%); }

/* phones: the bubbles drift down the page, left, right, left */
@media (max-width: 700px) {
  .tools { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 34px; }
  .bubble { --size: min(76vw, 280px); }
  .tools .live { align-self: flex-start; margin: 0 0 0 1vw; }
  .tools .soon { align-self: flex-end; margin: -26px 1vw 0 0; }
  .tools .ask { align-self: flex-start; margin: -26px 0 0 1vw; }
}

.promises { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px 0 8px; }
.promises li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-chip); font-size: 14px; font-weight: 500; }
.promises li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: var(--glow-rose); }

.teaser { max-width: 640px; margin: 40px auto 0; padding: 26px 24px; }
.teaser h2 { font-size: 28px; line-height: 1.15; margin: 6px 0 8px; }
.teaser h2 a { text-decoration: none; }
.teaser h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.teaser .btn { margin-top: 16px; }

/* ---------- sheet (idea / news) ---------- */
dialog.sheet {
  margin: auto auto 0; width: 100%; max-width: 560px; max-height: 92vh; border: 0; padding: 0; overflow: hidden;
  border-radius: 24px 24px 0 0; background: var(--lift); color: var(--ink-body); box-shadow: 0 -12px 40px rgba(77, 37, 31, .18);
}
@media (min-width: 700px) { dialog.sheet { margin: auto; border-radius: 24px; } }
dialog.sheet[open] { animation: sheetUp .6s var(--float); }
dialog.sheet.closing { animation: sheetDown .22s var(--ease) forwards; }
dialog.sheet::backdrop { background: rgba(77, 37, 31, .28); backdrop-filter: blur(3px); }
@keyframes sheetUp { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheetDown { to { transform: translateY(36px); opacity: 0; } }
.sheet-inner { padding: 10px 20px 0; overflow: auto; max-height: 92vh; }
.grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 16px; }
.script { font-family: var(--script); font-weight: 400; font-size: 30px; line-height: 1.3; color: var(--ink); }
.sheet-lede { margin-top: 8px; font-size: 15px; }
label.f { display: block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
label.f small { font-weight: 400; color: var(--ink-soft); }
label.f input, label.f textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font-size: 16px; color: var(--ink); border-radius: 12px;
  background: #f1ede8; border: 1px solid transparent; box-shadow: inset 0 1px 3px rgba(77, 37, 31, .08); resize: vertical; font-family: inherit;
}
label.f input:focus-visible, label.f textarea:focus-visible { outline: none; background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(105, 102, 73, .16); }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--ink); }
.sheet-actions {
  position: sticky; bottom: 0; display: flex; gap: 10px; justify-content: flex-end; align-items: center;
  padding: 14px 0 calc(16px + env(safe-area-inset-bottom)); margin-top: 18px; background: var(--lift); border-top: 1px solid var(--line);
}
.btn-text { background: none; border: 0; padding: 10px 6px; min-height: 44px; color: var(--ink-soft); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.b-early { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }

/* ================= the landscape: pink sky at the top, grass and lilies at the bottom ================= */
.roof-body, body { position: relative; }
.sky {
  position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #f0d4ce 0%, #f5e2dc 34%, #f8ece6 58%, rgba(237, 234, 230, 0) 100%);
}
.sky .stars { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 95%); mask-image: linear-gradient(#000 55%, transparent 95%); }

.meadow { position: relative; height: clamp(210px, 25vw, 320px); margin-top: -40px; overflow: hidden; pointer-events: none; }
.meadow .hills { position: absolute; inset: 0; width: 100%; height: 100%; }
.flower {
  position: absolute; left: var(--x); bottom: var(--b); width: calc(70px * var(--s)); height: calc(150px * var(--s));
  transform: translateX(-50%) rotate(var(--r)); transform-origin: 50% 100%;
}
.flower .stem { position: absolute; left: 50%; bottom: 0; width: 56%; height: 62%; transform: translateX(-50%); overflow: visible; }
.flower .st { fill: none; stroke: #7d8857; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flower .lf { fill: #96a46f; }
.flower img { position: absolute; left: 50%; top: 0; width: 100%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 3px 4px rgba(84, 92, 58, .22)); }
.flower img.flip { transform: translateX(-50%) scaleX(-1); }
.cluster { position: absolute; bottom: -6px; width: clamp(150px, 22vw, 290px); height: auto; filter: drop-shadow(0 4px 6px rgba(84, 92, 58, .2)); }
.cluster.left { left: -2%; }
.cluster.right { right: -2%; }
@media (max-width: 700px) {
  .flower:nth-of-type(2), .flower:nth-of-type(5) { display: none; }   /* fewer flowers on a phone */
}
.roof .foot { padding-bottom: 8px; }
