/* ==========================================================================
   L'AERIO · /links · ATMOSPHERIC CALLING CARD
   Unique to L'AERIO: living vellum + wine aura, brand-forward, no clones.
   ========================================================================== */

.links-body {
  background: #0E0A0B;
  color: var(--cream);
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

/* ── Atmospheric aura · two animated wash layers + grain ───────────── */

.links-body::before {
  content: '';
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 36% at 22% 18%, rgba(90, 26, 40, 0.85) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 78% 30%, rgba(142, 107, 62, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 95%, rgba(233, 223, 204, 0.40) 0%, transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(40, 18, 25, 0.55) 0%, rgba(14, 10, 11, 0.80) 100%);
  filter: blur(60px) saturate(160%);
  animation: links-aura 28s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
.links-body::after {
  content: '';
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(ellipse 45% 50% at 70% 75%, rgba(90, 26, 40, 0.60) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(142, 107, 62, 0.45) 0%, transparent 65%);
  filter: blur(80px) saturate(150%);
  animation: links-aura-2 36s ease-in-out 4s infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes links-aura {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(3%, -3%) scale(1.08) rotate(2deg); }
}
@keyframes links-aura-2 {
  0%   { transform: translate(0, 0) scale(1.05) rotate(-2deg); }
  100% { transform: translate(-4%, 3%) scale(0.95) rotate(3deg); }
}

/* Grain overlay */
.links-body > .links-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Subtle vignette */
.links-body > .links-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(14, 10, 11, 0.45) 100%);
}

/* ── Card · brand-forward, hairline rows ──────────────────────────── */

.links-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  margin: clamp(36px, 6vw, 80px) auto;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 44px);
  background: rgba(239, 231, 217, 0.06);
  border: 1px solid rgba(239, 231, 217, 0.16);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-radius: 8px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(239, 231, 217, 0.04),
    inset 0 1px 0 rgba(239, 231, 217, 0.10);
}
.links-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--bronze) 50%, transparent 100%);
  opacity: 0.85;
}

/* ── Identity ──────────────────────────────────────────────────────── */

.links-identity {
  text-align: center;
  padding-bottom: var(--sp-24);
  border-bottom: 1px solid rgba(239, 231, 217, 0.15);
  margin-bottom: var(--sp-24);
  position: relative;
}

/* Spinning crest behind the feather mark · unique signature */
.links-mark-wrap {
  position: relative;
  width: clamp(96px, 16vw, 128px);
  height: clamp(96px, 16vw, 128px);
  margin: 0 auto var(--sp-16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.links-mark-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(142, 107, 62, 0.55),
    rgba(239, 231, 217, 0.10),
    rgba(90, 26, 40, 0.55),
    rgba(142, 107, 62, 0.55)
  );
  filter: blur(8px);
  animation: links-crest 24s linear infinite;
  opacity: 0.85;
}
.links-mark-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(14, 10, 11, 0.6);
  border: 1px solid rgba(239, 231, 217, 0.18);
}
@keyframes links-crest { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .links-body::before, .links-body::after { animation: none; }
  .links-mark-wrap::before { animation: none; }
}

.links-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: brightness(0) invert(0.92) sepia(0.15) hue-rotate(330deg) saturate(2);
}

.links-wordmark {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto var(--sp-12);
  filter: brightness(0) invert(0.96);
}
.links-sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239, 231, 217, 0.62);
  margin: 0;
}
.links-tag {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 15px;
  color: rgba(239, 231, 217, 0.92);
  margin-top: var(--sp-12);
}
.links-vol { display: none; }

/* ── Hairline-divided rows ────────────────────────────────────────── */

.links-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}
.links-list li { border-bottom: 1px solid rgba(239, 231, 217, 0.10); }
.links-list li:last-child { border-bottom: 0; }

.links-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-12);
  padding: 18px 4px;
  text-decoration: none;
  color: var(--cream);
  transition: padding 280ms cubic-bezier(0.16, 1, 0.3, 1), background 200ms ease-out;
  border-radius: 2px;
}
.links-row:hover {
  padding-left: 14px;
  padding-right: 6px;
  background: rgba(239, 231, 217, 0.05);
}

.links-row__label {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(142, 107, 62, 0.95);
  margin-bottom: 4px;
}
.links-row__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.35rem);
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.links-row__arrow {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(239, 231, 217, 0.55);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), color 200ms;
}
.links-row:hover .links-row__arrow {
  transform: translateX(6px);
  color: var(--bronze);
}

/* ── Foot ─────────────────────────────────────────────────────────── */

.links-foot {
  text-align: center;
  margin-top: var(--sp-24);
  padding-top: var(--sp-16);
  border-top: 1px solid rgba(239, 231, 217, 0.10);
}
.links-foot__small {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(239, 231, 217, 0.42);
  margin: 0;
}
.links-foot__legal {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 12px;
  color: rgba(239, 231, 217, 0.55);
  margin-top: var(--sp-12);
}
.links-foot__legal a {
  color: rgba(239, 231, 217, 0.65);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 200ms;
}
.links-foot__legal a:hover {
  color: var(--cream);
  border-bottom-color: rgba(239, 231, 217, 0.35);
}

@media (max-width: 480px) { .links-card { margin: 24px 16px; } }
