/* Mangalyamfoto — design tokens follow the owner's mockup.
   Layout: soft blush hero with the couple photo bleeding off the right edge,
   a white "sheet" overlapping the hero that holds four journey cards + a trust strip,
   burgundy footer. Single light look by design (wedding brand), so colours are explicit. */
:root {
  --burgundy: #a90038;
  --burgundy-dark: #790024;
  --burgundy-deep: #5e001c;
  --blush: #fdf1f3;
  --blush-2: #fbe4e9;
  --petal: #f4c6d1;
  --champagne: #f6e7d2;
  --paper: #fffdfc;
  --ink: #2b1d22;
  --ink-soft: #5d4a51;
  --line: #f1d3db;
  --ok: #1e8a4c;
  --warn: #9a5b00;
  --error: #b3261e;

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Great Vibes", "Snell Roundhand", "Apple Chancery", cursive;

  --radius-card: 18px;
  --radius-btn: 12px;
  --shadow-card: 0 1px 2px rgba(121, 0, 36, .04), 0 10px 28px -14px rgba(121, 0, 36, .18);
  --shadow-sheet: 0 -18px 50px -30px rgba(121, 0, 36, .35);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1440px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: var(--burgundy); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--burgundy) 55%, white); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* ---------- Preview-mode banner ---------- */
.demo-banner {
  background: var(--burgundy-deep);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding-block: 8px;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.demo-banner strong { font-weight: 600; }
.demo-banner button { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; padding: 0 4px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 5;
  padding-block: 22px;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.site-header__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: clamp(0px, 2vw, 34px); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--burgundy); }
.logo svg { width: 50px; height: 44px; flex: none; }
.logo__word { font: 400 38px/1 var(--font-script); color: var(--burgundy); letter-spacing: .2px; padding-top: 4px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255,255,255,.9);
  color: var(--burgundy-dark);
  font-weight: 500; font-size: 14px;
  padding: 11px 20px; border-radius: 999px;
  box-shadow: 0 6px 20px -8px rgba(94, 0, 28, .35);
  cursor: pointer; min-height: 44px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost--app { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.btn-ghost--app:hover { background: var(--burgundy-dark); }
.btn-ghost svg { width: 20px; height: 20px; }
.btn-ghost:not(.btn-ghost--app):hover { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 18% 30%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #fff6f7 0%, var(--blush) 60%, var(--blush-2) 100%);
  min-height: 560px;
}
.hero__bokeh { position: absolute; inset: 0; pointer-events: none; }
.hero__bokeh span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 170, 190, .55) 0%, rgba(244,170,190,0) 70%);
  filter: blur(2px);
}
.hero__photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(54%, 860px);
  background: url("../assets/img/hero-couple.jpg") 38% 20% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero__petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; width: 18px; height: 13px;
  background: radial-gradient(ellipse at 30% 30%, #ff5d7f, #c8073f 70%);
  border-radius: 80% 0 80% 0;
  opacity: .85;
  animation: drift 14s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, 20deg)); }
  50% { transform: translate(8px, 14px) rotate(calc(var(--r, 20deg) + 25deg)); }
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding-block: 112px 150px;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.hero__copy { max-width: 620px; padding-left: clamp(0px, 4vw, 84px); }
.hero__title {
  position: relative; display: inline-block;
  margin: 0;
  font: 600 clamp(40px, 6vw, 96px)/1 var(--font-display);
  color: var(--burgundy);
  letter-spacing: -1.5px;
  text-wrap: balance;
}
.hero__title svg { position: absolute; top: -14px; right: -46px; width: 40px; height: 40px; color: var(--burgundy); }
.hero__lead { margin: 18px 0 0; padding-left: clamp(0px, 5vw, 74px); font: 400 clamp(20px, 2vw, 27px)/1.3 var(--font-display); color: var(--ink); }
.hero__lead em { display: block; padding-left: clamp(0px, 3vw, 40px); color: var(--burgundy); font-style: italic; }
.hero__cta { margin-top: 30px; padding-left: clamp(0px, 9vw, 134px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer;
  border-radius: var(--radius-btn);
  font-weight: 600; font-size: 16px;
  min-height: 48px; padding: 0 22px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary {
  background: linear-gradient(180deg, #b8063f 0%, var(--burgundy) 45%, var(--burgundy-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(121,0,36,.7);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(121,0,36,.75); }
.btn--primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--soft { background: #fff5f7; color: var(--burgundy-dark); border: 1px solid var(--petal); }
.btn--soft:hover { background: #ffeef2; }
.btn--outline { background: #fff; color: var(--burgundy-dark); border: 1px solid var(--petal); font-weight: 500; }
.btn--outline:hover { border-color: var(--burgundy); }
.btn--pill { border-radius: 999px; }
.btn--hero { min-height: 52px; padding: 0 40px; font-size: 19px; border-radius: 999px; }
.btn--block { width: 100%; }

/* ---------- Sheet holding cards ---------- */
.sheet {
  position: relative; z-index: 3;
  max-width: var(--maxw);
  margin: -120px auto 0;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.sheet__inner {
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-sheet);
  padding: 20px 18px 18px;
  display: grid; gap: 20px;
}
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }

.card {
  display: flex; flex-direction: column; gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px 18px;
  min-width: 0;
  scroll-margin-top: 20px;
}
.card__head { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 16px; align-items: start; }
.card__icon {
  width: 66px; height: 66px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #fde9ee 60%, #fadbe3 100%);
  display: grid; place-items: center; color: var(--burgundy);
}
.card__icon svg { width: 32px; height: 32px; }
.card__title { margin: 4px 0 4px; font: 600 21px/1.2 var(--font-display); color: var(--burgundy); text-wrap: balance; }
.card__text { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.card__body { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card .card__foot { margin-top: auto; }
.reassure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ok); margin: 0; }
.reassure svg { width: 20px; height: 20px; flex: none; }

/* Join card */
.field { position: relative; }
.field svg { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--burgundy); pointer-events: none; }
.input {
  width: 100%; min-height: 48px;
  padding: 0 16px 0 64px;
  border: 1px solid #e7dadd; border-radius: var(--radius-btn);
  background: #fff;
  font-size: 16px; letter-spacing: .5px; text-transform: uppercase;
}
.input:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(169,0,56,.12); }
.input[aria-invalid="true"] { border-color: var(--error); }
.or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.or::before, .or::after { content: ""; height: 1px; background: #eadfe2; }

/* Selfie card */
.selfie { position: relative; width: 168px; aspect-ratio: 1; max-width: 100%; margin: 0 auto; }
.selfie__ring {
  width: 100%; height: 100%; border-radius: 50%; padding: 7px;
  background: conic-gradient(from 200deg, #fbd3dd, #fff, #f7b7c7, #fff, #fbd3dd);
  box-shadow: 0 10px 26px -14px rgba(121,0,36,.5);
}
.selfie__ring img, .selfie__empty { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: var(--blush); }
.selfie__empty { display: grid; place-items: center; color: var(--burgundy); }
.selfie__empty svg { width: 54px; height: 54px; opacity: .7; }
.selfie__cam {
  position: absolute; right: 2px; bottom: 6px;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--burgundy);
  box-shadow: 0 6px 14px -6px rgba(121,0,36,.4);
  cursor: pointer;
}
.selfie__cam svg { width: 24px; height: 24px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.4; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--burgundy); flex: none; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ok); margin: 0; }
.secure svg { width: 20px; height: 20px; }

/* Upload card */
.dropzone {
  display: grid; place-items: center; gap: 6px;
  text-align: center;
  min-height: 136px; padding: 16px;
  border: 1.5px dashed #e9a3b6; border-radius: 14px;
  background: #fffafb;
  color: var(--ink-soft); font-size: 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.dropzone svg { width: 40px; height: 40px; color: var(--burgundy); }
.dropzone.is-over { background: #fff0f4; border-color: var(--burgundy); }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumb { position: relative; aspect-ratio: 1 / .95; border-radius: 8px; overflow: hidden; background: var(--blush); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(169, 0, 56, .55); color: #fff; font-weight: 600; font-size: 20px; }
.thumb__bar { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.7); overflow: hidden; }
.thumb__bar i { display: block; height: 100%; width: 0; background: var(--burgundy); transition: width .2s ease; }
.thumb__state { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 12px; }
.upload-list { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-soft); display: grid; gap: 4px; }

/* Matches card */
.matches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.match { position: relative; aspect-ratio: 1.5 / 1; border-radius: 8px; overflow: hidden; background: var(--blush); margin: 0; }
.match:nth-child(n+3) { aspect-ratio: 1.36 / 1; }
.match img { width: 100%; height: 100%; object-fit: cover; }
.match figcaption {
  position: absolute; left: 8px; bottom: 8px;
  background: var(--burgundy); color: #fff;
  font-size: 11px; font-weight: 500;
  padding: 3px 9px; border-radius: 999px;
  box-shadow: 0 0 0 1.5px #fff;
}
[data-foot] { display: grid; gap: 10px; }
.tag-example { justify-self: start; align-self: flex-start; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; color: var(--warn); background: #fff6e8; border: 1px solid #f3dcb5; border-radius: 999px; padding: 2px 8px; }
.empty { text-align: center; color: var(--ink-soft); font-size: 14px; padding: 20px 8px; border: 1px dashed var(--line); border-radius: 14px; }

/* Status messages */
.status { margin: 0; font-size: 13px; line-height: 1.4; border-radius: 10px; padding: 9px 12px; }
.status--info { background: #fdf3f5; color: var(--burgundy-dark); }
.status--ok { background: #ecf8f1; color: var(--ok); }
.status--warn { background: #fff6e8; color: var(--warn); }
.status--error { background: #fdecec; color: var(--error); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.event-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fdf3f5; border: 1px solid var(--line); }
.event-chip strong { font: 600 16px/1.2 var(--font-display); color: var(--burgundy-dark); display: block; }
.event-chip span { font-size: 12px; color: var(--ink-soft); }
.event-chip button { margin-left: auto; background: none; border: 0; color: var(--burgundy); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px; }

/* ---------- Trust strip ---------- */
.trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fdf0f3;
  border-radius: 16px;
  padding: 16px 10px;
}
.trust__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 4px 22px; min-width: 0; }
.trust__item + .trust__item { border-left: 1px solid #e9c9d2; }
.trust__icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--burgundy); box-shadow: 0 4px 10px -6px rgba(121,0,36,.35); }
.trust__icon svg { width: 28px; height: 28px; }
.trust__title { margin: 0; font-weight: 600; color: var(--burgundy-dark); font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.trust__text { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); }
.chip-setup { font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--warn); background: #fff6e8; border: 1px solid #f3dcb5; border-radius: 999px; padding: 1px 7px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--burgundy-dark), var(--burgundy-deep)); color: #fff; }
.site-footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-block: 26px;
  padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw); padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw);
}
.site-footer .logo, .site-footer .logo__word { color: #fff; }
.site-footer .logo svg { width: 46px; height: 40px; }
.footer-tag { margin: 2px 0 0 58px; font-size: 13px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.footer-tag svg { width: 16px; height: 16px; }
.footer-mid { text-align: center; font-size: 13px; opacity: .95; display: grid; gap: 8px; }
.footer-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.footer-links a, .footer-links button { color: #fff; font-size: 13px; opacity: .85; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 4px 0; }
.footer-links a:hover, .footer-links button:hover { opacity: 1; text-decoration: underline; }
.socials { display: flex; justify-content: flex-end; gap: 14px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: rgba(255,255,255,.12); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Dialog ---------- */
.dialog { border: 0; padding: 0; border-radius: 22px; width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 30px 80px -20px rgba(60, 0, 20, .45); color: var(--ink); background: #fff; }
.dialog::backdrop { background: rgba(60, 0, 20, .45); backdrop-filter: blur(3px); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.dialog__head h2 { margin: 0; font: 600 24px/1.2 var(--font-display); color: var(--burgundy); }
.dialog__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--burgundy-dark); }
.dialog__close svg { width: 20px; height: 20px; }
.dialog__body { padding: 22px 24px 26px; display: grid; gap: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; align-items: start; counter-increment: s; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--burgundy); font: 600 18px/1 var(--font-display); }
.steps h3 { margin: 6px 0 2px; font: 600 17px/1.3 var(--font-display); color: var(--burgundy-dark); }
.steps p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.steps p svg { width: 20px; height: 20px; vertical-align: -4px; color: var(--burgundy); }
.scanner { position: relative; border-radius: 16px; overflow: hidden; background: #1a0b10; aspect-ratio: 4 / 3; max-width: 100%; }
.scanner video { width: 100%; height: 100%; object-fit: cover; }
.scanner__frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.25); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; display: grid; gap: 6px; }
.gallery img { width: 100%; aspect-ratio: 1.3 / 1; object-fit: cover; border-radius: 10px; }
.gallery figcaption { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-soft); }
.gallery .owned-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e7f4ec; color: #1f6b3a; font-weight: 600; font-size: 11px; }
.gallery button { font-size: 12px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--petal); background: #fff; color: var(--burgundy-dark); cursor: pointer; }
.gallery button:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .trust__item:nth-child(3) { border-left: 0; }
  .hero__photo { width: 60%; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__photo { position: relative; width: 100%; height: 300px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); background-position: 50% 18%; }
  .hero__inner { padding-block: 100px 24px; text-align: center; }
  .hero__copy { padding-left: 0; margin: 0 auto; }
  .hero__lead, .hero__lead em, .hero__cta { padding-left: 0; }
  .hero__title svg { right: -30px; width: 30px; height: 30px; top: -8px; }
  .hero-wrap { display: flex; flex-direction: column; }
  .sheet { margin-top: -60px; }
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .site-footer .logo { justify-content: center; }
  .footer-tag { margin-left: 0; justify-content: center; }
  .socials { justify-content: center; }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(38px, 11vw, 56px); letter-spacing: -.5px; }
  .hero__title svg { right: -22px; width: 22px; height: 22px; top: -4px; }
  .petal:nth-child(n+6) { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid #e9c9d2; padding-top: 14px; }
  .logo__word { font-size: 30px; }
  .logo svg { width: 40px; height: 36px; }
  .btn-ghost span { display: none; }
  .btn-ghost { padding: 10px 12px; }
  .sheet__inner { padding: 14px 10px; border-radius: 22px 22px 0 0; }
  .hero__photo { height: 240px; }
  .btn--hero { width: 100%; max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* WhatsApp opt-in + selling */
.input--plain { padding: 0 14px; text-transform: none; letter-spacing: 0; }
.wa-form { display: grid; gap: 8px; padding: 12px; border: 1px solid #cfeedd; background: #f5fbf7; border-radius: 14px; }
.wa-form__label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #146c3a; }
.wa-form__label svg { width: 20px; height: 20px; }
.buy-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--blush); }
.buy-bar strong { color: var(--burgundy-dark); }
.price { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--burgundy-dark); }
.gallery figure { position: relative; }
.gallery .not-me { position: absolute; top: 6px; right: 6px; padding: 4px 10px; border: 0; border-radius: 999px; background: rgba(42,23,18,.72); color: #fff; font: 600 12px Inter, sans-serif; cursor: pointer; }
.gallery .not-me:hover { background: rgba(42,23,18,.9); }
.gallery-help { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #fdf3f5; font-size: 14px; line-height: 1.5; display: grid; gap: 10px; justify-items: start; }
.link-btn { border: 0; background: none; color: var(--ink-soft, #6b5a55); text-decoration: underline; font: 500 13px Inter, sans-serif; cursor: pointer; padding: 4px; justify-self: center; }
.gallery-help__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.missing-form { display: grid; gap: 8px; width: 100%; }
.missing-form textarea { width: 100%; resize: vertical; min-height: 80px; padding: 10px 12px; font: 15px Inter, sans-serif; }
/* Studio branding bar (guest page + dashboard preview) */
.sbrand { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 14px 20px; margin-bottom: 18px; border: 1px solid var(--line, #f0dfe3); border-radius: 16px; background: #fffdfb; box-shadow: 0 10px 26px -24px rgba(60, 25, 15, .6); }
.sbrand__who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sbrand__by { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft, #6b5a55); white-space: nowrap; }
.sbrand__logo { display: block; max-height: 52px; max-width: 220px; width: auto; height: auto; object-fit: contain; }
.sbrand__name { font: 600 22px/1.2 var(--font-display, "Playfair Display", serif); color: var(--ink, #2a1712); }
.sbrand__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sbrand__links a { display: inline-flex; align-items: center; gap: 7px; color: var(--burgundy, #a90038); font-size: 14px; text-decoration: none; }
.sbrand__links a:hover span { text-decoration: underline; }
.sbrand__links svg { width: 17px; height: 17px; flex: none; }
.sbrand--compact { margin: 0; padding: 12px 14px; }
.sbrand--compact .sbrand__logo { max-height: 40px; }
@media (max-width: 560px) { .sbrand { flex-direction: column; align-items: flex-start; } .sbrand__links span { font-size: 13px; } }

/* ===== Audit fixes: comfortable touch targets on phones and tablets ===== */
@media (max-width: 820px) {
  .nav-cta { min-height:40px; }
  .faq2 a, .faq2 button[data-action=contact] { display:inline-flex; align-items:center; min-height:40px; }
  .g-footer__links > *, .lp__foot > *, .lp__link, .lp__switch a, .g-link { min-height:40px; display:inline-flex; align-items:center; }
  .lp__show { min-height:40px; }
  .ws-signout { min-height:40px; }
  .ad-crumbs a, .ad-crumbs button { min-width:40px; min-height:40px; justify-content:center; }
  .ws-link, .ad-link { min-height:40px; }
  .ws-locked a { display:inline-block; padding:10px 0; }
}
/* Breadcrumbs never push the page sideways */
.ad-crumbs { min-width:0; flex-wrap:nowrap; overflow:hidden; }
.ad-crumbs > b, .ad-crumbs > span, .ad-crumbs .ws-crumb-on { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width: 400px) { .ad-crumbs > span { display:none; } .ad-crumbs > span + svg { display:none; } }
/* Login headers on very small phones */
@media (max-width: 380px) {
  .lp__brand svg { width:32px; height:32px; } .lp__brand span { font-size:24px; }
  .lp--admin .lp__brand span { font-size:21px; }
  .lp__top { padding-left:12px; padding-right:12px; }
}

/* ===== Brand logo (image) ===== */
.brand-logo { display:block; width:auto; height:56px; max-width:none; }
.brand-logo--full { height:84px; }
.logo .brand-logo { height:58px; }
.g-brand .brand-logo { height:58px; }
.g-brand--sm .brand-logo { height:72px; }
.lp__brand .brand-logo { height:54px; }
.lp__footlogo .brand-logo { height:40px; }
.ad-brand .brand-logo, .ws-brand .brand-logo { height:78px; }
@media (max-width: 1000px) { .ad-brand .brand-logo, .ws-brand .brand-logo { height:46px; } }
@media (max-width: 560px) {
  .logo .brand-logo, .g-brand .brand-logo, .lp__brand .brand-logo { height:44px; }
  .g-brand--sm .brand-logo { height:64px; }
}
/* larger header logo so the wordmark reads clearly */
.logo .brand-logo, .g-brand .brand-logo, .lp__brand .brand-logo { height:74px; }
.home-nav .logo .brand-logo { height:72px; }
@media (max-width: 560px) { .logo .brand-logo, .g-brand .brand-logo, .lp__brand .brand-logo, .home-nav .logo .brand-logo { height:50px; } }
@media (max-width: 380px) { .logo .brand-logo, .g-brand .brand-logo, .lp__brand .brand-logo, .home-nav .logo .brand-logo { height:44px; } }
.g-header__inner, .lp__top { padding-top:4px; padding-bottom:4px; }

/* Mangalyam logo (all pages): sizes tuned for the wider logo */
.logo .brand-logo, .g-brand .brand-logo, .lp__brand .brand-logo { height:62px; }
.g-brand--sm .brand-logo { height:80px; }
.lp__footlogo .brand-logo { height:40px; }
.ad-brand .brand-logo, .ws-brand .brand-logo { height:60px; }
@media (max-width: 1000px) { .ad-brand .brand-logo, .ws-brand .brand-logo { height:48px; } }
@media (max-width: 560px) {
  .logo .brand-logo, .g-brand .brand-logo, .lp__brand .brand-logo, .home-nav .logo .brand-logo { height:50px; }
  .g-brand--sm .brand-logo { height:70px; }
  .ad-brand .brand-logo, .ws-brand .brand-logo { height:50px; }
}
@media (max-width: 380px) {
  .logo .brand-logo, .g-brand .brand-logo, .lp__brand .brand-logo, .home-nav .logo .brand-logo { height:44px; }
  .ad-brand .brand-logo, .ws-brand .brand-logo { height:44px; }
}

/* ---------- Paid galleries: select several photos + discounts (v42) ---------- */
.buy-bar__text { display: grid; gap: 6px; font-size: 14.5px; }
.buy-bar__text small { color: var(--ink-soft); font-size: 13px; }
.buy-bar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.disc-line { display: flex; flex-wrap: wrap; gap: 6px; }
.disc-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--burgundy-dark); font-size: 12.5px; font-weight: 600; border: 1px solid var(--petal); }
.wm-note { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.gallery figure[data-pickable] img { cursor: pointer; user-select: none; -webkit-user-select: none; }
.gallery .pick { position: absolute; top: 6px; left: 6px; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: rgba(42, 23, 18, .35); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.gallery .pick span { width: 12px; height: 7px; margin-top: -3px; border: solid transparent; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.gallery figure.is-picked img { outline: 3px solid var(--burgundy, #8a1538); outline-offset: -3px; filter: brightness(.92); }
.gallery figure.is-picked .pick { background: var(--burgundy, #8a1538); border-color: #fff; }
.gallery figure.is-picked .pick span { border-color: #fff; }
.cart { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px;
  border-radius: 14px; background: #fff; border: 1px solid var(--petal); box-shadow: 0 -10px 24px -14px rgba(60, 0, 20, .35); }
.cart[hidden] { display: none; }
.cart__info { display: grid; gap: 2px; font-size: 14.5px; }
.cart__info s { color: var(--ink-soft); font-weight: 400; }
.cart__info em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #1f6b3a; background: #e7f4ec; padding: 1px 8px; border-radius: 999px; }
.cart__info small { color: var(--burgundy-dark); font-size: 12.5px; font-weight: 600; }
.cart__info small:empty { display: none; }
.cart__actions { display: flex; gap: 8px; }
@media (max-width: 480px) { .cart__actions { width: 100%; } .cart__actions .btn { flex: 1; } }
.gallery .pick, .gallery .not-me { z-index: 1; }
