/* Link-in-bio page (/links). Loads after styles.css and reuses its design tokens
   (--ink, --muted, --paper, --panel, --accent, --line, --serif, --mono), the shared
   .eyebrow / .rule / .button / .newsletter-form styles. Editorial, cinematic, and
   tuned as a link-in-bio for IG/TikTok in-app browsers. */

.lb-page {
  min-height: 100vh;
  background: var(--paper);
}

/* .rule ships as an inline-friendly hairline here (site markup uses <div>) */
.lb-page .rule {
  display: block;
  width: 2.7rem;
  height: 1px;
  background: var(--accent);
}

/* Top header — small centered name; the photo below is the focal point ---- */
.lb-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .6rem;
  padding: clamp(1.1rem, 4vw, 1.6rem) 1.25rem clamp(.8rem, 3vw, 1.1rem);
}

.lb-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 5.2vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--ink);
}

.lb-top .rule {
  margin: 0 auto;
}

.lb-tagline {
  margin: 0;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .62rem;
  color: var(--muted);
}

/* Hero photo — the attention-grabber -------------------------------------- */
.lb-hero {
  position: relative;
  height: clamp(15rem, 42vh, 23rem);
  overflow: hidden;
  isolation: isolate;
}

.lb-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: -2;
}

.lb-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 58%, rgba(31, 34, 35, .5) 82%, var(--paper));
}

/* Socials — centered under the photo -------------------------------------- */
.lb-socials {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

.lb-socials a {
  color: var(--muted);
  transition: color .2s ease, transform .2s ease;
}

.lb-socials a:hover,
.lb-socials a:focus-visible {
  color: var(--ink);
  transform: translateY(-2px);
}

.lb-socials svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

/* Body column ------------------------------------------------------------- */
.lb {
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1.35rem, 6vw, 1.9rem) calc(3rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 7vw, 3.25rem);
}

/* Featured release -------------------------------------------------------- */
.lb-featured {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 1.4rem);
  padding: clamp(.9rem, 3vw, 1.1rem);
  border: 1px solid var(--line);
  background: rgba(240, 235, 225, .025);
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.lb-featured:hover,
.lb-featured:focus-visible {
  border-color: var(--accent);
  background: rgba(240, 235, 225, .045);
  transform: translateY(-2px);
}

.lb-featured-art {
  flex: 0 0 auto;
  width: clamp(4.75rem, 22vw, 6.25rem);
  aspect-ratio: 1;
  overflow: hidden;
}

.lb-featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-featured-copy {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}

.lb-featured-copy .eyebrow {
  margin: 0;
}

.lb-featured-title {
  margin: .35rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 6vw, 2rem);
  line-height: 1.02;
  color: var(--ink);
}

.lb-featured .rule {
  margin: .7rem 0 .65rem;
}

.lb-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .6rem;
  font-weight: 700;
  color: var(--muted);
  transition: color .25s ease;
}

.lb-featured:hover .lb-featured-cta,
.lb-featured:focus-visible .lb-featured-cta {
  color: var(--ink);
}

/* Link rows --------------------------------------------------------------- */
.lb-links {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.lb-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
  padding: .9rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(240, 235, 225, .02);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .18s ease;
}

.lb-link:hover,
.lb-link:focus-visible {
  border-color: var(--ink);
  background: rgba(240, 235, 225, .06);
  transform: translateY(-2px);
}

.lb-link-ic {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--muted);
  transition: color .2s ease;
}

.lb-link:hover .lb-link-ic,
.lb-link:focus-visible .lb-link-ic {
  color: var(--ink);
}

.lb-link-ic svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

.lb-link-label {
  flex: 1 1 auto;
  font-size: .95rem;
  letter-spacing: .04em;
}

.lb-arrow {
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform .2s ease, color .2s ease;
}

.lb-link:hover .lb-arrow,
.lb-link:focus-visible .lb-arrow,
.lb-featured:hover .lb-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* Newsletter -------------------------------------------------------------- */
.lb-news {
  padding: clamp(1.4rem, 5vw, 1.9rem);
  border: 1px solid var(--line);
  background: var(--panel);
}

.lb-news .eyebrow {
  margin: 0;
}

.lb-news-title {
  margin: .5rem 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  line-height: 1.05;
  color: var(--ink);
}

.lb-news .rule {
  margin: .85rem 0 1.2rem;
}

/* Footer ------------------------------------------------------------------ */
.lb-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.lb-foot .rule {
  margin: 0 auto;
}

.lb-foot a {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .6rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

.lb-foot a:hover,
.lb-foot a:focus-visible {
  color: var(--ink);
}

/* Motion — a restrained echo of the site's reveal, off for reduced-motion --- */
@keyframes lbUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .lb-hero-content { animation: lbUp .85s cubic-bezier(.2, .7, .2, 1) both; }
  .lb-reveal { animation: lbUp .7s cubic-bezier(.2, .7, .2, 1) both; }
  .lb-featured { animation-delay: .06s; }
  .lb-news { animation-delay: .06s; }
  .lb-foot { animation-delay: .06s; }

  .lb-links .lb-link { animation: lbUp .62s cubic-bezier(.2, .7, .2, 1) both; }
  .lb-links .lb-link:nth-child(1) { animation-delay: .10s; }
  .lb-links .lb-link:nth-child(2) { animation-delay: .16s; }
  .lb-links .lb-link:nth-child(3) { animation-delay: .22s; }
  .lb-links .lb-link:nth-child(4) { animation-delay: .28s; }
  .lb-links .lb-link:nth-child(5) { animation-delay: .34s; }
  .lb-links .lb-link:nth-child(6) { animation-delay: .40s; }
  .lb-links .lb-link:nth-child(7) { animation-delay: .46s; }
  .lb-links .lb-link:nth-child(8) { animation-delay: .52s; }
}
