:root {
  --bg: #030303;
  --bg-elevated: rgba(16, 16, 16, 0.88);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-border-strong: rgba(255, 255, 255, 0.2);
  --text-primary: #f5f5f5;
  --text-secondary: #c7c7c7;
  --text-muted: #8f8f8f;
  --silver: #d9d9d9;
  --silver-soft: rgba(217, 217, 217, 0.12);
  --silver-glow: rgba(244, 244, 244, 0.16);
  --shadow-deep: rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(180deg, #010101 0%, #070707 45%, #101010 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.background-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.background-noise,
.background-glow,
.background-watermark {
  position: absolute;
  inset: 0;
}

.background-noise {
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.09) 0 0.8px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 0 0.8px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.07) 0 0.8px, transparent 1px);
  background-size: 26px 26px, 32px 32px, 22px 22px;
  mix-blend-mode: screen;
}

.background-glow {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.18), transparent 20%),
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.08), transparent 35%),
    radial-gradient(circle at 10% 100%, rgba(255, 255, 255, 0.04), transparent 24%);
  filter: blur(24px);
}

.background-watermark {
  display: grid;
  place-items: center;
  font-size: clamp(9rem, 42vw, 22rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  transform: translateY(-2%);
  user-select: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.bio-card {
  position: relative;
  width: min(100%, 520px);
  padding: 26px 18px 18px;
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--bg-elevated);
  box-shadow:
    0 30px 80px var(--shadow-deep),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.bio-card::before,
.bio-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  pointer-events: none;
}

.bio-card::before {
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-card::after {
  inset: auto 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.brand-header {
  position: relative;
  margin-bottom: 20px;
  padding: 6px 8px 24px;
  text-align: center;
}

.brand-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.logo-medallion {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 40%, rgba(0, 0, 0, 0.55));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(255, 255, 255, 0.08);
}

.logo-medallion::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-logo,
.logo-fallback-mark {
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.logo-fallback-mark {
  display: none;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: rgba(255, 255, 255, 0.82);
}

.logo-medallion.logo-fallback .logo-fallback-mark {
  display: block;
}

.brand-copy {
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.08);
}

.tagline {
  margin: 14px auto 0;
  max-width: 340px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.brand-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.brand-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-block {
  padding: 18px 6px;
}

.section-block + .section-block {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-kicker,
.section-heading h2 {
  margin: 0;
}

.section-kicker {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--silver);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-grid {
  display: grid;
  gap: 12px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: transform 0.55s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--panel-border-strong);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--silver-soft),
    0 0 18px var(--silver-glow);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(14, 14, 14, 0.96);
}

.link-card:hover::before,
.link-card:focus-visible::before {
  transform: translateX(120%);
}

.link-card:focus-visible {
  outline: none;
}

.link-card--featured {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(12, 12, 12, 0.92);
}

.link-card--product {
  grid-template-columns: 58px minmax(0, 1fr) auto;
}

.product-thumb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.link-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--silver);
}

.link-copy {
  min-width: 0;
}

.link-copy strong,
.link-copy small {
  display: block;
}

.link-copy strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.link-copy small {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.81rem;
  line-height: 1.45;
}

.link-arrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery-intro {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  gap: 12px;
}

.gallery-card {
  position: relative;
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.24);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.82) 100%);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: saturate(0.92) contrast(1.02);
}

.gallery-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
}

.gallery-card strong,
.gallery-card span {
  display: block;
}

.gallery-card strong {
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-card span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  line-height: 1.45;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.04);
}

.gallery-card--featured {
  min-height: 280px;
}

@media (max-width: 540px) {
  .page-shell {
    padding: 18px 12px;
  }

  .bio-card {
    padding: 18px 12px 12px;
    border-radius: 28px;
  }

  .bio-card::before {
    inset: 10px;
    border-radius: 20px;
  }

  .brand-header {
    padding: 4px 4px 20px;
  }

  .logo-medallion {
    width: 104px;
    height: 104px;
    border-radius: 28px;
  }

  .logo-medallion::before {
    border-radius: 20px;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .eyebrow {
    letter-spacing: 0.28em;
  }

  .tagline {
    font-size: 0.93rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .link-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 74px;
    padding: 14px;
    border-radius: 20px;
  }

  .link-card--product {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .link-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .product-thumb {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .link-copy strong {
    font-size: 0.96rem;
  }

  .link-copy small {
    font-size: 0.78rem;
  }

  .gallery-card {
    min-height: 200px;
    border-radius: 20px;
  }

  .gallery-card--featured {
    min-height: 240px;
  }
}
