:root {
  --black: #000;
  --text: #f6f6f6;
  --muted: #8c8c8c;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
  color: var(--text);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 28%),
    #000;
  font-family: "Noto Sans", "Noto Sans Placeholder", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

.links-shell {
  width: min(100%, 520px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 28px 18px 34px;
}

.links-hero {
  display: grid;
  justify-items: center;
  padding: 10px 0 20px;
  text-align: center;
}

.links-portrait {
  width: 112px;
  height: 112px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
}

.links-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% 38%;
  filter: grayscale(1);
}

.links-kicker,
.links-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Big Shoulders Inline", sans-serif;
  font-size: clamp(64px, 18vw, 116px);
  font-weight: 600;
  line-height: 0.84;
  color: #fff;
}

.links-copy {
  margin: 14px 0 0;
  color: #d8d8d8;
  font-size: 14px;
  line-height: 1.5;
}

.links-contact-line {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.links-media-strip {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr;
  gap: 8px;
  margin-top: 22px;
}

.links-media-strip img,
.links-media-strip video {
  width: 100%;
  aspect-ratio: 0.78;
  display: block;
  border: 1px solid var(--line);
  background: #050505;
  object-fit: cover;
}

.links-media-strip img:nth-child(2) {
  object-position: 50% 34%;
}

.links-media-strip img:nth-child(3) {
  object-position: 42% 34%;
}

.link-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.link-card {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #080808;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.link-card-primary {
  min-height: 78px;
  border-color: #fff;
  background: #fff;
  color: #000;
}

.link-card-featured {
  min-height: 0;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.link-card-featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #050505;
  object-fit: cover;
}

.link-card-featured span {
  position: relative;
  display: block;
  padding: 16px 48px 17px 18px;
}

.link-card-featured span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
  transform: translateY(-50%);
}

.link-card-media {
  grid-template-columns: 64px 1fr;
  align-items: center;
  align-content: center;
  gap: 14px;
  min-height: 88px;
}

.link-card-media img {
  width: 64px;
  height: 64px;
  display: block;
  background: #000;
  object-fit: cover;
}

.link-card-media:nth-child(4) img {
  object-position: 50% 36%;
}

.link-card span,
.compact-links a,
.quick-contact a {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.link-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.link-card-primary small {
  color: rgba(0, 0, 0, 0.58);
}

.link-card:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: #111;
  transform: translateY(-1px);
}

.link-card-primary:hover {
  background: #dcdcdc;
  color: #000;
}

.link-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.compact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.compact-links a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: #050505;
  color: #fff;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease;
}

.compact-links a:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: #111;
}

.quick-contact {
  margin-top: 26px;
  text-align: center;
}

.quick-contact a {
  color: var(--muted);
  text-transform: none;
}

.quick-contact a:hover {
  color: #fff;
}

@media (max-width: 430px) {
  .links-shell {
    padding: 22px 14px 30px;
  }

  .links-portrait {
    width: 96px;
    height: 96px;
  }

  .links-media-strip {
    gap: 6px;
    margin-top: 18px;
  }

  .link-card-media {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .link-card-media img {
    width: 58px;
    height: 58px;
  }

  .compact-links {
    grid-template-columns: 1fr;
  }
}
