/* The Nikah Circle by Aima — the logotype, as type and one inline ring.
 *
 * Built from the funnel's existing tokens only (wine, cherry, cream, gold).
 * No image files and NO favicon change: Misaq's cherry mark stays the site's
 * icon everywhere, so the company identity is untouched.
 *
 * The ring is a hairline circle with a gap at the top — people sitting in a
 * circle, with the door left open. It is drawn as one SVG stroke so it stays
 * crisp at any size, and the gap is a dash pattern rather than an arc so the
 * two ends keep perfectly even weight.
 *
 * Variants:
 *   .nclock              full lockup — ring + wordmark + rule + MISAQ
 *   .nclock--compact     ring + "The Nikah Circle" only (narrow screens)
 * Below 480px the full lockup collapses to the compact one automatically.
 */

.nclock {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream, #FBF7EC);
  line-height: 1;
  min-height: 44px;              /* a tap target, not just a picture */
}

/* ---- the ring ---- */
.nclock .ncring {
  flex: none;
  display: block;
  width: 38px;
  height: 38px;
}
.nclock .ncring circle {
  fill: none;
  stroke: var(--gold, #D9B45E);
  stroke-width: 1.6;
  stroke-linecap: round;
  /* circumference of r=17 is ~106.8: one long dash, one short gap at 12 o'clock */
  stroke-dasharray: 94 12.8;
  stroke-dashoffset: 47;         /* rotates the gap to the top */
}
.nclock .ncring .seat {
  fill: var(--gold-2, #F3DC9A);
}

/* ---- the wordmark ---- */
.nclock .ncword {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nclock .ncthe {
  font-family: var(--serif, 'Fraunces', Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--gold, #D9B45E);
}
.nclock .ncname {
  font-family: var(--serif, 'Fraunces', Georgia, serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--cream, #FBF7EC);
  white-space: nowrap;
}
.nclock .ncby {
  font-family: var(--serif, 'Fraunces', Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted, rgba(251, 247, 236, .72));
}

/* ---- the divider and MISAQ ---- */
.nclock .ncrule {
  flex: none;
  width: 1px;
  height: 30px;
  background: var(--line, rgba(217, 180, 94, .28));
}
.nclock .ncmisaq {
  font-family: var(--sans, 'Manrope', system-ui, sans-serif);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold, #D9B45E);
  white-space: nowrap;
}

/* ---- compact: the ring and the name, nothing else ---- */
.nclock--compact .ncby,
.nclock--compact .ncrule,
.nclock--compact .ncmisaq { display: none; }
.nclock--compact .ncring { width: 32px; height: 32px; }
.nclock--compact .ncname { font-size: 17px; }

@media (max-width: 480px) {
  .nclock { gap: 10px; }
  .nclock .ncby,
  .nclock .ncrule,
  .nclock .ncmisaq { display: none; }
  .nclock .ncring { width: 32px; height: 32px; }
  .nclock .ncname { font-size: 16.5px; }
  .nclock .ncthe { font-size: 10.5px; }
}

/* On a light ground (the booked page's confirmation card, emails-in-browser) */
.nclock--light .ncname { color: var(--wine, #4A0B12); }
.nclock--light .ncthe,
.nclock--light .ncmisaq { color: var(--pom, #8E1B30); }
.nclock--light .ncby { color: #6B5A5E; }
.nclock--light .ncring circle { stroke: var(--pom, #8E1B30); }
.nclock--light .ncring .seat { fill: var(--cherry, #C8102E); }
.nclock--light .ncrule { background: rgba(74, 11, 18, .25); }
