/*
  NURYA — Collection Homme
  Deliberately NOT a mirror of the Collection Femme grid: two tall,
  alternating panels rather than a 3-up card grid — denser, more
  vertical, more restrained. Same underlying technique as the Femme
  chapters (contained flacon over a tonal atmosphere, halo prepared in
  advance) so the site still reads as one house, but the composition,
  the accent logic (retenue/rayonnement, not a 3-step progression) and
  the corner mark (a monogram, not a chapter numeral) are distinct.
*/

.nurya-men-collection__header {
  max-width: 56rem;
  margin-bottom: var(--nurya-space-2xl);
}

.nurya-men-collection__intro {
  margin-top: var(--nurya-space-sm);
}

.nurya-men-collection__list {
  display: flex;
  flex-direction: column;
  gap: var(--nurya-space-3xl);
}

.nurya-presence-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nurya-space-lg);
  align-items: center;
}

@media screen and (min-width: 900px) {
  .nurya-presence-panel {
    grid-template-columns: 58fr 42fr;
    gap: var(--nurya-space-xl);
  }

  .nurya-presence-panel--reverse {
    grid-template-columns: 42fr 58fr;
  }

  .nurya-presence-panel--reverse .nurya-presence-panel__visual {
    order: 2;
  }

  .nurya-presence-panel--reverse .nurya-presence-panel__details {
    order: 1;
    align-items: flex-end;
    text-align: right;
  }
}

/* Taller than the Femme chapters (3:4) — "plus verticale, plus dense". */
.nurya-presence-panel__visual {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  text-decoration: none;
  perspective: 50rem;
}

.nurya-presence-panel__halo {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(3rem);
  pointer-events: none;
}

.nurya-presence-panel__monogram {
  position: absolute;
  z-index: 2;
  bottom: var(--nurya-space-md);
  right: var(--nurya-space-md);
  font-family: var(--nurya-font-heading);
  font-style: italic;
  font-size: clamp(3.6rem, 8.5vw, 5.6rem);
  line-height: 1;
  color: var(--nurya-ctx-accent);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity var(--nurya-transition-slow);
}

.nurya-presence-panel__visual:hover .nurya-presence-panel__monogram,
.nurya-presence-panel__visual:focus-visible .nurya-presence-panel__monogram {
  opacity: 0.78;
}

.nurya-presence-panel__visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 58%;
  max-height: 70%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1.6rem 2.4rem rgba(0, 0, 0, 0.45));
  transition: transform var(--nurya-transition-slow), filter var(--nurya-transition-slow);
}

.nurya-presence-panel__visual:hover img,
.nurya-presence-panel__visual:focus-visible img {
  transform: scale(1.035) rotateY(4deg);
  filter: drop-shadow(0 2.2rem 3.2rem rgba(0, 0, 0, 0.5));
}

/* Grounds the flacon on a soft contact shadow instead of leaving it
   adrift in the scene — a precise, quiet floor rather than a glow. */
.nurya-presence-panel__visual::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 82%;
  z-index: 0;
  width: 30%;
  height: 6%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.45) 0%, transparent 75%);
  filter: blur(0.8rem);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .nurya-presence-panel__visual:hover img,
  .nurya-presence-panel__visual:focus-visible img {
    transform: none;
    filter: drop-shadow(0 1.6rem 2.4rem rgba(0, 0, 0, 0.45));
  }
}

.nurya-presence-panel__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.nurya-presence-panel__label {
  font-family: var(--nurya-font-body);
  font-weight: 500;
  font-size: var(--nurya-text-sm);
  letter-spacing: calc(var(--nurya-tracking-wide) + 0.02em);
  text-transform: uppercase;
  color: var(--nurya-ctx-accent);
  display: block;
  margin-bottom: var(--nurya-space-sm);
}

.nurya-presence-panel__name {
  font-family: var(--nurya-font-heading);
  font-size: var(--nurya-title-lg);
  letter-spacing: 0.01em;
  margin: 0 0 var(--nurya-space-md);
  color: var(--nurya-color-ivory);
  /* This is an h3 — Dawn's base.css sets word-break: break-word on all
     h1-h5 by tag name. VALENOR/AUREON fit today at every width, but
     this closes the same class of bug already fixed on the Hero. */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.nurya-presence-panel__signature {
  margin: 0 0 var(--nurya-space-sm);
  font-family: var(--nurya-font-heading);
  font-style: italic;
  font-size: var(--nurya-text-lg);
  color: var(--nurya-ctx-accent);
  opacity: 0.9;
}

.nurya-presence-panel__description {
  font-family: var(--nurya-font-body);
  font-size: var(--nurya-text-base);
  line-height: var(--nurya-leading-body);
  color: var(--nurya-color-ivory);
  opacity: 0.9;
  max-width: 38rem;
}

.nurya-presence-panel__availability {
  margin-top: var(--nurya-space-2xs);
  font-family: var(--nurya-font-body);
  font-size: var(--nurya-text-xs);
  letter-spacing: var(--nurya-tracking-wide);
  text-transform: uppercase;
  color: var(--nurya-ctx-accent);
  opacity: 0.6;
}

/* ============ Two tones, one restraint ============ */

/* Valenor — cool, monochrome, disciplined. Ivory rather than navy for
   the accent: navy read almost invisibly against a near-black ground,
   and legibility was part of this pass's brief. */
.nurya-presence-panel--retenue {
  --nurya-ctx-accent: var(--nurya-color-ivory);
}

.nurya-presence-panel--retenue .nurya-presence-panel__visual {
  background: radial-gradient(90% 90% at 50% 40%, rgba(230, 232, 236, 0.06) 0%, var(--nurya-color-anthracite) 40%, var(--nurya-color-black) 85%);
}

.nurya-presence-panel--retenue .nurya-presence-panel__halo {
  width: 46%;
  background: radial-gradient(circle, rgba(230, 232, 236, 0.22) 0%, rgba(198, 161, 91, 0.08) 50%, transparent 74%);
}

/* Aureon — warm, radiant, ambitious. */
.nurya-presence-panel--rayonnement {
  --nurya-ctx-accent: var(--nurya-color-gold);
}

.nurya-presence-panel--rayonnement .nurya-presence-panel__visual {
  background: radial-gradient(74% 74% at 50% 36%, rgba(198, 161, 91, 0.46) 0%, var(--nurya-color-anthracite) 55%, var(--nurya-color-black) 100%);
}

.nurya-presence-panel--rayonnement .nurya-presence-panel__halo {
  width: 66%;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.48) 0%, rgba(198, 161, 91, 0.12) 45%, transparent 74%);
}

/* Umbris — the deepest of the three: aged gold/bronze rather than
   bright gold, a wider and softer (more diffuse) halo than either
   Valenor or Aureon — presence as trace, not as spectacle. No crown
   imagery is drawn here; the restraint itself is the point. */
.nurya-presence-panel--influence {
  --nurya-ctx-accent: #8a6f3f;
}

.nurya-presence-panel--influence .nurya-presence-panel__visual {
  background: radial-gradient(90% 90% at 50% 42%, var(--nurya-color-black-soft) 0%, var(--nurya-color-black) 62%);
}

.nurya-presence-panel--influence .nurya-presence-panel__halo {
  width: 80%;
  filter: blur(4.6rem);
  background: radial-gradient(circle, rgba(138, 111, 63, 0.32) 0%, rgba(138, 111, 63, 0.1) 50%, transparent 80%);
}

/* ============ Conversion — a discreet, editorial CTA per presence ============ */

.nurya-presence-panel__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: var(--nurya-space-md);
  font-family: var(--nurya-font-body);
  font-size: var(--nurya-text-sm);
  letter-spacing: var(--nurya-tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nurya-color-ivory);
  padding-bottom: 0.5rem;
}

.nurya-presence-panel__cta::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  transition: opacity 380ms ease, background-color 380ms ease;
}

.nurya-presence-panel__cta-mark {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--nurya-ctx-accent);
  transition: transform 380ms ease;
}

.nurya-presence-panel__cta:hover,
.nurya-presence-panel__cta:focus-visible {
  color: var(--nurya-ctx-accent);
}

.nurya-presence-panel__cta:hover::after,
.nurya-presence-panel__cta:focus-visible::after {
  opacity: 1;
  background: var(--nurya-ctx-accent);
}

.nurya-presence-panel__cta:hover .nurya-presence-panel__cta-mark,
.nurya-presence-panel__cta:focus-visible .nurya-presence-panel__cta-mark {
  transform: translateX(0.25rem);
}

.nurya-presence-panel__cta:focus-visible {
  outline: 2px solid var(--nurya-ctx-accent);
  outline-offset: 4px;
}

/* ============ Mobile — full-width scenes, no compression ============ */

@media screen and (max-width: 899px) {
  .nurya-presence-panel__visual {
    aspect-ratio: auto;
    height: 68vh;
    min-height: 38rem;
  }

  .nurya-presence-panel--reverse .nurya-presence-panel__details {
    align-items: flex-start;
    text-align: left;
  }
}
