/* =============================================================
   MACRIS — link page

   One family throughout: Playfair Display SC. Hierarchy comes from
   weight, size and tracking, never from a second typeface. Because
   the face is small-caps, most labels are NOT uppercased in CSS —
   letting lowercase render as small caps is the whole point.

   Ground is cool near-black under three drifting chandelier layers
   (pre-blurred in the asset, so nothing is filtered at runtime).
   ============================================================= */

@font-face { font-family:'Playfair SC'; src:url('./assets/fonts/playfair-sc-400.woff2?v=2') format('woff2');
             font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Playfair SC'; src:url('./assets/fonts/playfair-sc-700.woff2?v=2') format('woff2');
             font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Playfair SC'; src:url('./assets/fonts/playfair-sc-900.woff2?v=2') format('woff2');
             font-weight:900; font-style:normal; font-display:swap; }
@font-face { font-family:'Playfair SC'; src:url('./assets/fonts/playfair-sc-400-italic.woff2?v=2') format('woff2');
             font-weight:400; font-style:italic; font-display:swap; }

:root {
  color-scheme: dark;

  /* ground — cool near-black, not warm */
  --ink:        #08080a;
  --ink-raise:  #101014;

  /* text */
  --bone:       #e8e6e0;
  --bone-dim:   #8a8884;

  /* accent — champagne rather than bronze: gold with the heat taken out */
  --gold:       #c9bd9c;
  --gold-bright:#ebe4cd;
  --gold-line:  rgba(201, 189, 156, .24);
  --gold-glow:  rgba(201, 189, 156, .085);

  /* the cool wash from below, pulled off the portrait's blues */
  --cool:       rgba(92, 114, 176, .13);

  --display: 'Playfair SC', 'Playfair Display SC', 'Playfair Display', Georgia, serif;

  --maxw: 460px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  padding: clamp(36px, 9vw, 76px) 22px calc(48px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: flex-start;

  font-family: var(--display);
  font-weight: 400;
  color: var(--bone);
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ---------- backdrop: drifting chandelier layers ----------
   Each layer is an already-blurred JPEG. Only transform and opacity
   animate, so the compositor does all the work on the GPU. */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: var(--ink);
}

.backdrop span {
  position: absolute;
  inset: -26%;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.backdrop .l1 {
  background-image: url('./assets/bg-1.jpg?v=2');
  opacity: .34;
  animation: drift-1 96s var(--ease) infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.42) 40%, transparent 74%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.42) 40%, transparent 74%);
}

.backdrop .l2 {
  background-image: url('./assets/bg-2.jpg?v=2');
  opacity: .20;
  animation: drift-2 148s var(--ease) infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 4%, #000 55%, transparent 100%);
}

.backdrop .l3 {
  background-image: url('./assets/bg-3.jpg?v=2');
  opacity: .14;
  animation: drift-3 210s linear infinite alternate;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 78%, #000, transparent 76%);
          mask-image: radial-gradient(70% 55% at 50% 78%, #000, transparent 76%);
}

@keyframes drift-1 {
  from { transform: translate3d(-2.5%, -2%, 0)  scale(1.06); }
  to   { transform: translate3d( 2.5%,  2.5%, 0) scale(1.17); }
}
@keyframes drift-2 {
  from { transform: translate3d( 3%,  2.5%, 0) scale(1.20) rotate(.6deg); }
  to   { transform: translate3d(-2.5%, -2%, 0)  scale(1.07) rotate(-.6deg); }
}
@keyframes drift-3 {
  from { transform: translate3d(-1.5%, 3%, 0) scale(1.24); }
  to   { transform: translate3d( 2%, -2%, 0)  scale(1.10); }
}

/* washes and vignette, above the backdrop but under the content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(70vw 44vh at 50% -8%,  var(--gold-glow), transparent 68%),
    radial-gradient(84vw 42vh at 50% 108%, var(--cool), transparent 72%),
    radial-gradient(124vw 100vh at 50% 40%, rgba(8,8,10,.30) 20%, rgba(0,0,0,.80) 100%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); }

/* ---------- portrait ---------- */

.portrait {
  margin: 0 auto clamp(22px, 5vw, 30px);
  width: min(64%, 236px);
  aspect-ratio: 4 / 5;
  position: relative;
  border: 1px solid var(--gold-line);
  padding: 6px;
  background: rgba(8, 8, 10, .55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .78);
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.09) saturate(1.02) brightness(1.14);
}

.portrait::after {
  content: '';
  position: absolute;
  inset: 6px;
  pointer-events: none;
  box-shadow: inset 0 0 38px 8px rgba(0, 0, 0, .55);
}

/* ---------- masthead ---------- */

.masthead { text-align: center; }

.wordmark {
  margin: 0;
  font-weight: 900;
  font-size: clamp(40px, 12.5vw, 58px);
  line-height: 1;
  letter-spacing: .08em;
  text-indent: .08em;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px auto 13px;
  width: 62%;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.ornament i {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--gold);
  opacity: .85;
}

/* lowercase here renders as small caps — do not uppercase it */
.handle {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .26em;
  text-indent: .26em;
  color: var(--gold);
}

.bio {
  margin: 15px auto 0;
  max-width: 32ch;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .05em;
  color: var(--bone-dim);
}

/* ---------- release ---------- */

.release { margin: clamp(34px, 8vw, 46px) 0 0; }

.release__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(160deg, rgba(201,189,156,.055), rgba(92,114,176,.05) 72%),
    rgba(16, 16, 20, .78);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6);
  transition: border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}

.release__art {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, .08);
}

.release__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold);
}

.release__title {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: .03em;
}

.release__feat {
  font-style: italic;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--bone-dim);
}

.release__cta {
  margin-top: 10px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(201, 189, 156, .45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold-bright);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}

.release__cta svg {
  width: 11px;
  height: 11px;
  transition: transform .25s var(--ease);
}

@media (hover: hover) {
  .release__card:hover {
    border-color: rgba(201, 189, 156, .55);
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, .66);
  }
  .release__card:hover .release__cta {
    background: rgba(201, 189, 156, .1);
    border-color: rgba(201, 189, 156, .7);
  }
  .release__card:hover .release__cta svg { transform: translateX(3px); }
}

/* ---------- elsewhere ---------- */

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(34px, 8vw, 44px) 0 2px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .26em;
  color: var(--bone-dim);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-line), transparent);
}

.links { display: flex; flex-direction: column; }

.row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 8px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(232, 230, 224, .07);
  transition: background-color .22s var(--ease), padding-left .22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.row:first-child { border-top: 1px solid rgba(232, 230, 224, .07); }

.row__icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--gold);
  opacity: .8;
  transition: opacity .22s var(--ease);
}

.row__name {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .13em;
}

.row__arrow {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  color: var(--bone-dim);
  opacity: .5;
  transition: transform .22s var(--ease), opacity .22s var(--ease), color .22s var(--ease);
}

@media (hover: hover) {
  .row:hover { background: rgba(201, 189, 156, .05); padding-left: 14px; }
  .row:hover .row__icon  { opacity: 1; }
  .row:hover .row__arrow { transform: translateX(3px); opacity: 1; color: var(--gold); }
}

.row:active { background: rgba(201, 189, 156, .08); }

/* ---------- footer ---------- */

.foot {
  margin-top: clamp(34px, 8vw, 46px);
  text-align: center;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .2em;
  text-indent: .2em;
  color: var(--bone-dim);
  opacity: .6;
}

.foot p { margin: 0; }

/* ---------- focus / motion ---------- */

a:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .backdrop span { animation: none; transform: translate3d(0, 0, 0) scale(1.1); }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
